Exporting from Ocean Template Designer with multiple languages

Hello,

We are having problems exporting a template in OPT format with multiple languages. Here are the steps to reproduce:

  1. Switch your region to English (United Kingdom)
  • In Windows 10 it was enough to just set format to English (United Kingdom) under Region → Formats
  1. Start TD and create a new template

  2. Add openEHR-EHR-COMPOSITION.encounter.v1 (from ckm) to the template

  3. Export to OPT and select additional languages: es, pt-BR

The resulting OPT will have (which are ok):

  • Template language matching the region selected (english)

  • Default term definitions in English

But instead of getting language translations for es and pt-BR we get two duplicate term definitions for en. Please see the exported OPT here http://pastebin.com/6Jm02RGz

The problem seems to always occur if there is a translation in the archetype for language which is the same as your computer locale.

Has anybody else experienced this issue?

-Pekka