You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mb-wali
changed the title
what are the needed steps to add a new language for translation?
i18n: How to add new language to this repository
Jul 2, 2021
Let's pretend we want to add the
French: fr
language as a supported language to the repository.package.json
and add the French langugage in to the list of langugages.Pull French language file from Transifex
tx pull -l fr
Run convert command
npm run i18n-conv-po-all
update i18next instance, to add the new language.
modify
i18next.js
file to add the new language.import the new translation file.
import TRANSLATIONS_FR from './translations/fr/translations.json';
update resources and add the new language.
The text was updated successfully, but these errors were encountered: