cityofaustin/janis

Fix i18n in React Static

mateoclarke opened this issue · 1 comments

Fix i18n. Currently not using the LanguageWrapper or i18n Select Language Banner. This fix to this may involve mapping over all the routes for each language code prefix in the static.config file.

see #119

Redirecting built files

For redirecting the statically built files to the correct language, there's some interesting discussion on StackOverflow and a good solution written in lua that will take care of language headers and cookies.

For reference, here's a thread in the React Static repo about this problem: react-static/react-static#58