Determine details about how we want to setup and maintain a localized OONI Explorer.
Current State
Currently, Explorer already renders most of its readable content after it is processed by the localization library react-intl. The strings are compiled in ./public/static/lang/*.json files. However, the production instance only supports the locale en.
A work-in-progress localized version of Explorer lives at: https://explorer.test.ooni.org
It can detect the browser's current language and show already translated parts of Explorer in that language and the rest in the fallback language, English.
Purpose
Determine details about how we want to setup and maintain a localized OONI Explorer.
Current State
Currently, Explorer already renders most of its readable content after it is processed by the localization library
react-intl
. The strings are compiled in./public/static/lang/*.json
files. However, the production instance only supports the localeen
.A work-in-progress localized version of Explorer lives at: https://explorer.test.ooni.org It can detect the browser's current language and show already translated parts of Explorer in that language and the rest in the fallback language, English.
Questions to discuss:
nextjs
. e.g: The when the browser language isfr
, https://explorer.test.ooni.org auto-redirects tohttps://explorer.test.ooni.org/fr