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:

  1. Export the English wrapper and cores
  2. Open the wrapper and cores in a text editor
  3. Change the "Name" and "scenario_trigger" in each of the files to match what they should be for Non-English
    1. Wrapper: 
      1. Name: "COVID-19 - CDC WRAPPER - Other Languages"
      2. scenario_trigger: "covid19_non_eng"
    2. Vaccinated Core: 
      1. Name: "COVID-19 - VACCINATED CORE - Other Languages"
      2. scenario_trigger: "covid19_vax_core_non_eng"
    3. Pediatric Vaccinated Core: 
      1. Name: "COVID-19 - Pediatric VACCINATED CORE - Other Languages"
      2. scenario_trigger: "covid19_vax_core_pediatric_non_eng"
  4. Import the updated localization Excel file you received from the translators
  5. Import the scenarios you modified in the text editor
  6. Update the Non-English wrapper to point to the Non-English core (see below for images)
  7. Upload the new language xlsx file with the full translations.
  8. 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
    1. Bot Direct Links:
      1. Spanish: https://covid19healthbot-dev.cdc.gov/?language=es

      2. Vietnamese: https://covid19healthbot-dev.cdc.gov/?language=vi

      3. Korean: https://covid19healthbot-dev.cdc.gov/?language=ko

      4. Chinese: https://covid19healthbot-dev.cdc.gov/?language=zh

    2. Language-Page Links:
      1. Korean: https://oadc-dmb-test.cdc.gov/coronavirus/2019-ncov/index-korean.html
      2. Chinese: https://oadc-dmb-test.cdc.gov/coronavirus/2019-ncov/index-chinese.html
      3. Vietnamese: https://oadc-dmb-test.cdc.gov/coronavirus/2019-ncov/index-vietnamese.html
      4. Spanish: https://oadc-dmb-test.cdc.gov/coronavirus/2019-ncov/index-spanish.html



  • No labels

1 Comment

  1. Something to watch-out-for: 

    The arrays with responses (["La prueba mostró que sí tuve COVID-19 (resultado positivo).", "La prueba mostró que no tuve COVID-19 (resultado negativo)."]) are often butchered in translation.  Double check that the separators for the items are ' " ' and ' , '.  search any incoming translations for ' ". ' as several translators sometimes move the period outside the quotation marks.