Consolidate all language enums to OppiaLanguage #3793
Labels
bug
End user-perceivable behaviors which are not desirable.
Impact: Low
Low perceived user impact (e.g. edge cases).
Work: Medium
The means to find the solution is clear, but it isn't at good-first-issue level yet.
Z-ibt
Temporary label for Ben to keep track of issues he's triaged.
This is pertaining to unreleased localization code that will go into review shortly.
A new OppiaLanguage proto is being introduced that's backed by an actual language configuration file. There are two existing proto enums (AppLanguage & AudioLanguage) in profile.proto and that should be consolidated with the new OppiaLanguage proto. Further, all other references to direct languages (like "English" such as in OptionsControlViewModel) should be isolated to the locale or translation domain/utility subpackages, not hardcoded anywhere since these are contexts that are very likely dependent on the current selected locale.
Related issue: #669 except we don't actually need to fetch the list from the backend anymore given the local configuration file.
The text was updated successfully, but these errors were encountered: