WebApp
WebApp copied to clipboard
More language choices in staging environment
Is your feature request related to a problem? Please describe.
We have a couple of people who are passionate about contributing translations, including Spanish, Italian and French. Take @360fun as an example. We would like to accept more language contributions but we don't want to slow down development, in case a translation is not 100% finished. Therefore we want a switch
in which we can opt-in to more language in staging
environment but enable only EN
and DE
for production
.
Describe the solution you'd like An environment variable should define the list of choosable languages:
# this should enable German, English, Spanish, Italian and French
LANGUAGES=de,en,es,it,fr yarn run dev
The fallback for missing translations should be EN
.
Describe alternatives you've considered
Environment variables are necessary because this is the only thing we can change in deployed environments, where we cannot change config files.
Additional context
Cool! :)
@roschaefer this is Great thanks. 👍
I understood the issue but since I'm a novice in this area I'd like to be included in the solution process by a personal message. Thanks.