i18n support?
See original GitHub issueAny plans to add support for i18n?
I’ve had previous success with i18n webpack plugin - perhaps this could be integrated into the webpack configuration?
Given that it increases build time significantly (as it makes use of webpack’s multi-compiler feature i.e. module.exports = [configA, configB];
instead of module.exports = config;
), it would most likely have to be an opt in feature. We could look for an i18n/
directory that users could drop a bunch of json files into the like so:
src/
i18n/
├─ en-gb.json
├─ de-de.json
├─ ...
The idea that CRA would produce an output bundle per locale in conjunction with i18n webpack plugin.
Thoughts? Happy to attempt a PR if you have no objections.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:54
- Comments:22 (3 by maintainers)
Top Results From Across the Web
What Is i18n? | Introduction to Internationalization - Lingoport
i18n is the process of preparing software so that it can support local languages, cultural settings, & meet the requirements of local markets....
Read more >i18next documentation: Introduction
i18next goes beyond just providing the standard i18n features such as (plurals, context, interpolation, format). ... Learn more about supported frameworks.
Read more >i18n - MDN Web Docs - Mozilla
i18n. Functions to internationalize your extension. You can use these APIs to get localized strings from locale files packaged with your extension, ...
Read more >i18n support · V8
Prerequisites #. The i18n implementation adds a dependency on ICU. As of v7.2, V8 requires at least ICU version 63. The exact dependency...
Read more >What Is I18n? A Simple Definition of Internationalization | Phrase
Enabling code to support local, regional, language, or culturally related preferences. Typically, this involves incorporating predefined ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same here, looking for a the cleanest way to add i18n support into Create React App app without ejecting, maybe there should be some kind of localization section in README?
I agree this is something we’ll need to address.