Multilingual support SPA
Opened this issue · 4 comments
A recurring ask from our users is whether do we support internationalization for the front-end or not.
React-Spectrum does support it, and we should either document how to enable this for a custom SPA, or showcase the multilingual support in our React-Spectrum 3 generator.
The raw HTML generator should be excluded from this enhancement.
I do not see this as an issue for the tooling/generator/framework, this is an easy to solve user-land issue.
- put all your strings in separate files, 1 per supported language, and export each string via a well defined key eg.
LocalizedString.WelcomeMessage
- load the language file according to the user's locale
Everything we bring in generators are easy to solve user-land issue, but the purpose is to show users how to instead of letting them guess.
Now as I mentioned above, this could also fit into a documentation guide, or an open sourced sample app.
+1 for docs or a guide
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-1376