-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorted language #318
Sorted language #318
Conversation
.env
Outdated
@@ -1,3 +1,4 @@ | |||
REACT_APP_APP_VERSION=v2.4.2 | |||
REACT_APP_FEATURE_USE_CUSTOM_VERSION_UPDATE=true | |||
REACT_APP_FEATURE_DEMO_MODE=false | |||
REACT_APP_FEATURE_MORE_LANGUAGES=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REACT_APP_FEATURE_BETA_LANGUAGES
looks more suitable as a name for this variable for me
src/utils/translation.ts
Outdated
["vi", "tiếng Việt"], | ||
["ta", "தமிழ்"], | ||
["hi", "हिन्दी"], | ||
["en", "english"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why English is after the h
-letter?
src/utils/translation.ts
Outdated
["hi", "हिन्दी"], | ||
["en", "english"], | ||
["ru", "русский"], | ||
...(configuration.features.moreLanguages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
configuration.features.betaLanguages
Closed #300
Closed #314
I sorted the languages in alphabetical order. Added a feature flag for available languages.
And also updated the README.