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 add arabic local files 2014-12-07 23:05:24 +03:00
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 Add translation for Romanian. 2014-08-28 14:01:14 +03:00
ru.js.erb Update RU pluralization to use 3 keys: one, few, other (as by Transifex) 2014-08-23 15:28:14 +03:00
sq.js.erb erb file for sq lang 2014-11-12 22:08:09 +01:00
sv.js.erb
te.js.erb Add Telugu translation files 2015-02-09 20:46:31 +05:30
tr_TR.js.erb Set Turkish pluralization rules 2015-01-14 10:39:31 -08:00
uk.js.erb
zh_CN.js.erb
zh_TW.js.erb