onaio / fhir-web

A web based interface for administering FHIR based digital health solutions
https://ona.io/home/introducing-quest-fhir-native-case-management/
Other
18 stars 20 forks source link

Update the welcome message for ecbis deployments. #1220

Open peterMuriuki opened 1 year ago

peterMuriuki commented 1 year ago

Related to #1213 .

@dubdabasoduba kindly guide efforts on what other strings that might need the translation and what the translations should be.

peterMuriuki commented 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.