Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Obtain the list of languages from I18N based on the translated files #103

Open
goneall opened this issue Feb 8, 2019 · 0 comments
Open

Comments

@goneall
Copy link
Collaborator

goneall commented Feb 8, 2019

Currently in the file globals.js we have a dictionary of supported languages. It would be more supportable if the list of supported languages was derived from the translation files and remove the need for this dictionary.

From reading the documentation on I18Next, there is a property i18next.languages that should contain all languages. However, this property does not seem to be initialized. @openchain-visolve do you know of a way to make this function work?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant