-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update react intl v3 - saga based translation files #2866
Update react intl v3 - saga based translation files #2866
Commits on Aug 19, 2019
-
* react-intl upgrade from 2.9.0 to 3.1.9
* new formatjs/intl-relativetimeformat and intl-pluralrules dependencies as react-intl polyfills * changes in jest.config.js, webpack.base.babel.js, i18n.js and ToggleOption component according to react-intl upgrade guide * various snapshot updates due to internal react-intl changes Signed-off-by: mhatvan <markus_hatvan@aon.at>
mhatvan committedAug 19, 2019 Configuration menu - View commit details
-
Copy full SHA for b50c2d9 - Browse repository at this point
Copy the full SHA b50c2d9View commit details
Commits on Sep 20, 2019
-
Merge branch 'dev' of https://github.com/react-boilerplate/react-boil…
…erplate into chore/upgrade-react-intl-to-v3
mhatvan committedSep 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 18c7683 - Browse repository at this point
Copy the full SHA 18c7683View commit details -
Upgrade react-intl to v3 (react-boilerplate#2721)
* react-intl upgrade from 3.1.9 to 3.3.0 * switch from intl-pluralrules to @formatjs/intl-pluralrules * update i18n.js and i18n.md Signed-off-by: mhatvan <markus_hatvan@aon.at>
mhatvan committedSep 20, 2019 Configuration menu - View commit details
-
Copy full SHA for b23f561 - Browse repository at this point
Copy the full SHA b23f561View commit details
Commits on Sep 23, 2019
-
Upgrade react-intl to v3 (react-boilerplate#2721)
* change add-locale-data.hbs and intl-locale-data.hbs generation * add istanbul ignore to conditional polyfill imports * remove intl polyfill in app/app.js and polyfill-intl-locale.hbs * change documentation url for intl webpack transpilation Signed-off-by: mhatvan <markus_hatvan@aon.at>
mhatvan committedSep 23, 2019 Configuration menu - View commit details
-
Copy full SHA for e66b52a - Browse repository at this point
Copy the full SHA e66b52aView commit details -
Merge branch 'dev' into chore/upgrade-react-intl-to-v3
Markus Hatvan authoredSep 23, 2019 Configuration menu - View commit details
-
Copy full SHA for f53ec6c - Browse repository at this point
Copy the full SHA f53ec6cView commit details
Commits on Sep 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7fcfa8f - Browse repository at this point
Copy the full SHA 7fcfa8fView commit details
Commits on Sep 29, 2019
-
Signed-off-by: markushatvan <markus_hatvan@aon.at>
markushatvan committedSep 29, 2019 Configuration menu - View commit details
-
Copy full SHA for 867a52c - Browse repository at this point
Copy the full SHA 867a52cView commit details
Commits on Oct 2, 2019
-
change exclude regex in webpack.base.babel.js to work for unix and wi…
…ndows environments Signed-off-by: markushatvan <markus_hatvan@aon.at>
markushatvan committedOct 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 5955318 - Browse repository at this point
Copy the full SHA 5955318View commit details
Commits on Oct 28, 2019
-
Merge branch 'dev' of https://github.com/react-boilerplate/react-boil…
…erplate into chore/upgrade-react-intl-to-v3 Signed-off-by: mhatvan <markus_hatvan@aon.at>
mhatvan committedOct 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 35128fe - Browse repository at this point
Copy the full SHA 35128feView commit details -
Merge branch 'chore/upgrade-react-intl-to-v3' of github.com:mhatvan/r…
…eact-boilerplate into chore/upgrade-react-intl-to-v3
mhatvan committedOct 28, 2019 Configuration menu - View commit details
-
Copy full SHA for c368d93 - Browse repository at this point
Copy the full SHA c368d93View commit details
Commits on Nov 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 772e4ce - Browse repository at this point
Copy the full SHA 772e4ceView commit details
Commits on Nov 21, 2019
-
Merge branch 'dev' of https://github.com/react-boilerplate/react-boil…
…erplate into chore/upgrade-react-intl-to-v3
mhatvan committedNov 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 37ad6a7 - Browse repository at this point
Copy the full SHA 37ad6a7View commit details -
* update react-intl and relevant dependencies to latest version
* add full-icu package to fix locale data missing error in jest tests * add english locale data polyfill for Intl.Pluralrules and Intl.RelativeTimeFormat * change language generation to add locale data polyfills after english locale data Signed-off-by: mhatvan <markus_hatvan@aon.at>
mhatvan committedNov 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 5a90578 - Browse repository at this point
Copy the full SHA 5a90578View commit details
Commits on Feb 23, 2020
-
Merge branch 'chore/upgrade-react-intl-to-v3' into upgrade-test
Colby Adams committedFeb 23, 2020 Configuration menu - View commit details
-
Copy full SHA for e0a1f9c - Browse repository at this point
Copy the full SHA e0a1f9cView commit details -
Update react-intl and Language Provider
Update react-intl to latest version. Update LanguageProvider, app.js, and i18n.js in both app and template as described below. i18n.js - Despite the comment at the top of the file, i18n.js is not being used by the extract-intl script anymore, and can therefore use import/export syntax. - The translation files are now imported dynamically so that only the necessary translations are included. In the example app, this doesn't make much difference, but when there are many locales, loading json files individually will make a significant difference. - Create fetchMessages convenience function for importing/formatting translations. app.js - Update dynamic imports of Intl polyfills to @formatjs/intl-pluralrules and @formatjs/intl-relativetimeformat. - Remove translationMessages as they are now being fetched by the getTranslationMessages Saga. LanguageProvider - The CHANGE_LOCALE action now triggers the getTranslationMessages Saga. The Saga will use the fetchMessages function in i18n.js to fetch the appropriate messages file and then update the locale and messages. - If the messages are unable to be fetched, the saga will fall back to the default locale and messages. generators - Fix all language generators so that they work properly for new i18n.js/app.js implementaiton.
Colby Adams committedFeb 23, 2020 Configuration menu - View commit details
-
Copy full SHA for 0ad9c42 - Browse repository at this point
Copy the full SHA 0ad9c42View commit details -
- Previous commit failed because the app.js template was not formatted properly
Colby Adams committedFeb 23, 2020 Configuration menu - View commit details
-
Copy full SHA for c00081e - Browse repository at this point
Copy the full SHA c00081eView commit details