Project

General

Profile

« Previous | Next » 

Revision a355157f

Added by Dominic Cleal about 8 years ago

fixes #10662 - set default_locale to 'en'

When a default locale isn't set and FastGettext.set_locale() is called
with an unknown locale, it picks the first available. This depends on
the readdir order of locale/, which depends on filesystem behaviour.

Now when generating the default language API docs, they are always in
English and when accessing the web UI with an unknown language
preference, the 'en' locale is provided.

(cherry picked from commit f3582159e2bc0cb5cd01741598e6f9a883d8fb9f)

  • added
  • modified
  • copied
  • renamed
  • deleted