Once you have the translations for the new version, you can update the Non-English scenario with the latest version. The easiest way to copy English to Non-English, since they are now the same version. The easiest way to do that is:
- Export the English core and English wrapper
- Open the core and wrapper in a text editor
- Change the "Name" and "scenario_trigger" in each of the files to match what they should be for Non-English
- Wrapper:
- Name: "COVID-19 - CDC WRAPPER - Other Languages"
- scenario_trigger: "covid19_non_eng"
- Core:
- Name: "COVID-19 - CORE PROTOCOL - Other Languages"
- scenario_trigger: "covid19_core_non_eng"
- Wrapper:
- Import the updated localization Excel file you received from the translators
- Import the scenarios you modified in the text editor
- Update the Non-English wrapper to point to the Non-English core (see below for images)
- Upload the new language xlsx file with the full translations.
- Update the "ver in dev" in the gitlab README at https://git.philab.cdc.gov/IIU-Web-Team/covid19-bot-translations/-/blob/master/README.md
You can test the different languages at
- Korean: https://oadc-dmb-test.cdc.gov/coronavirus/2019-ncov/index-korean.html
- Chinese: https://oadc-dmb-test.cdc.gov/coronavirus/2019-ncov/index-chinese.html
- Vietnamese: https://oadc-dmb-test.cdc.gov/coronavirus/2019-ncov/index-vietnamese.html
- Spanish: https://oadc-dmb-test.cdc.gov/coronavirus/2019-ncov/index-spanish.html