Skip to content
Snippets Groups Projects
  • chrisgarrity's avatar
    a0455422
    Initial version of loading or switching language. · a0455422
    chrisgarrity authored
    Add `?locale=<localecode>` to load in a new langage.
    Add `?enable=language` to enable the language selector
    Or combine the two: `?enable=language&locale=<localecode>`
    Still accepts a hash, but requires that the hash be a sequence of digits.
    
    Added new locales reducer to gui:
    - initializes default  react-intl/localeData
    - initializes default locale messages for all locales
    - default locale is ‘en’ (can be overridden by URL)
    
    Removed dependency on react-intl-redux, added ConnectedIntlProvider (uses correct locale messages from redux based on current locale)
    a0455422
    History
    Initial version of loading or switching language.
    chrisgarrity authored
    Add `?locale=<localecode>` to load in a new langage.
    Add `?enable=language` to enable the language selector
    Or combine the two: `?enable=language&locale=<localecode>`
    Still accepts a hash, but requires that the hash be a sequence of digits.
    
    Added new locales reducer to gui:
    - initializes default  react-intl/localeData
    - initializes default locale messages for all locales
    - default locale is ‘en’ (can be overridden by URL)
    
    Removed dependency on react-intl-redux, added ConnectedIntlProvider (uses correct locale messages from redux based on current locale)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
app-state-hoc.jsx 2.92 KiB