Adding support to multi language #329
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Following the same idea of
technologies.jsonI created ajsonfile with the strings to replace on the index.template.Nothing sophisticated but works. I tried the
i18n-jsgem, but it's too much for this simple change. The result will be a folder calledlocalizedand inside all folder with the language code, for example Portugueselocalized/pt/index.htmlIn this PR I added Portuguese, French and Spanish.
To add or edit a new language is just update that on
languages.jsonOff course since English is the main language it will be created on main folder and on the localized.