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 Remove trailing commas, add trailing semicolons 2014-03-18 18:21:10 -07:00
da.js.erb
de.js.erb
en.js.erb
es.js.erb adding "es" translation js file 2013-03-28 19:30:37 +01:00
fa_IR.js.erb Add pluralization rule to fa_IR.js.erb 2015-04-07 20:15:30 +04:30
fi.js.erb Add Finnish 2014-08-21 13:48:42 +03:00
fr.js.erb
he.js.erb Add Hebrew 2014-05-01 11:00:53 -04:00
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 fix so some half working locales boot 2013-07-25 11:25:30 +10:00
nb_NO.js.erb fix so some half working locales boot 2013-07-25 11:25:30 +10:00
nl.js.erb
pl_PL.js.erb New translation per instructions: 2014-05-29 09:54:44 +02:00
pt.js.erb
pt_BR.js.erb Adding Portuguese-Brazil language 2013-07-15 14:45:16 -03:00
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 Add transifex config. Reconcile client.yml and server.yml translations in github and transifex. Transifex is now the source of all client.yml and server.yml files. 2014-04-10 15:42:38 -04:00
zh_CN.js.erb
zh_TW.js.erb