Open peterMuriuki opened 1 year ago
@mutuajames the locale files can be found here. they are grouped by project, so you would have to create a folder for the new project.
In the project folder you then have translation files grouped by package, and then by language. you only need to provide the translation files that need overriding,
You can do so automatically by running the i18n-extraction script, find docs here.
./scripts/i18nExtraction.js extract app -l en -p <new-project-code> --use-keys-as-default-value
Finally, you'll need to make the app aware of the new project code so that its configurable, see the link in the issue description. You will have to update and add a projectCode for the new project, this project code is what will then be provided during deployements so that the web can pick the correct translation files.
Related to #1213 .
Welcome to Opensrp
message on the home page.@dubdabasoduba kindly guide efforts on what other strings that might need the translation and what the translations should be.