Skip to content

Automated Test: localization-system-post #315

Closed

Commits on Jul 15, 2015

  1. FEATURE: Localization fallbacks (server-side)

    The FallbackLocaleList object tells I18n::Backend::Fallbacks what order the
    languages should be attempted in. Because of the translate_accelerator patch,
    the SiteSetting.default_locale is *not* guaranteed to be fully loaded after the
    server starts, so a call to ensure_loaded! is added after the locale is set for
    the current user.
    
    The declarations of config.i18n.fallbacks = true in the environment files were
    actually garbage, because the I18n.default_locale was
    SiteSetting.default_locale, so there was nothing to fall back to. *derp*
    Kane York committed Jul 15, 2015
    Configuration menu
    Copy the full SHA
    ecfa17b View commit details
    Browse the repository at this point in the history