Kane York 728845d008 FEATURE: Localization fallbacks (client)
This patch sets I18n.defaultLocale in the Discourse.start() script block (it
was formerly always 'en') to SiteSetting.default_locale, and patches
translate() to perform fallback to defaultLocale followed by english.
Additionally, when enable_verbose_localization() is called, no fallbacks will
be performed.

It also memoizes the file loading operations in JsLocaleHelper and strips out
translations from the fallbacks that are also present in a prefered language,
to minimize file size.
2015-07-15 10:17:28 -07:00
..
2014-12-07 23:05:24 +03:00
2015-05-12 16:16:10 +04:30
2013-03-25 23:07:02 +01:00
2013-03-28 19:30:37 +01:00
2014-08-21 13:48:42 +03:00
2014-05-01 11:00:53 -04:00
2013-03-25 18:35:38 +01:00
2014-05-29 09:54:44 +02:00
2013-07-15 14:45:16 -03:00
2014-08-28 14:01:14 +03:00
2014-11-12 22:08:09 +01:00
2015-02-09 20:46:31 +05:30
2015-01-14 10:39:31 -08:00