discourse/app/views/common
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
..
_discourse_javascript.html.erb FEATURE: Localization fallbacks (client) 2015-07-15 10:17:28 -07:00
_discourse_stylesheet.html.erb FEATURE: support user local switching to RTL correctly 2015-05-20 15:56:54 +10:00
_google_analytics.html.erb FIX: Don't track pageView on initial load. Let the router signal that. 2014-05-21 14:04:08 -04:00
_google_universal_analytics.html.erb Add userId to GA tracking 2015-04-07 13:10:33 -04:00
_special_font_face.html.erb bump font cache 2015-03-27 16:33:15 +01:00