discourse/app/assets/javascripts/locales
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
..
ar.js.erb
bs_BA.js.erb Create bs_BA.js.erb 2015-05-12 16:16:10 +04:30
cs.js.erb
da.js.erb
de.js.erb
en.js.erb
es.js.erb
fa_IR.js.erb Add pluralization rule to fa_IR.js.erb 2015-04-07 20:15:30 +04:30
fi.js.erb
fr.js.erb
he.js.erb
i18n.js FEATURE: Localization fallbacks (client) 2015-07-15 10:17:28 -07:00
id.js.erb
it.js.erb
ja.js.erb pluralizationRules for Japanese translation 2015-07-05 21:23:19 +09:00
ko.js.erb
nb_NO.js.erb
nl.js.erb
pl_PL.js.erb
pt.js.erb
pt_BR.js.erb
ro.js.erb
ru.js.erb
sq.js.erb
sv.js.erb
te.js.erb Add Telugu translation files 2015-02-09 20:46:31 +05:30
tr_TR.js.erb
uk.js.erb
zh_CN.js.erb
zh_TW.js.erb