Hi Peter thanks for the explanation, I would take hours trying to understand 
how this work.Yes, in fact I prefer to use the UI in english and create 
archetypes and templates in spanish.Maybe the problem I had was that the TD 
selected "es-UY" locale so I can see "es" terms, but I can't see "es-AR". I 
think it would be nice to have a fallback rule on the language of the archetype 
like:
if the selected locale is different than the archetype locale and both have 
country specified, if they match in the language part, use the archetype locale 
to get the terms instead of the locale selected for the environment (I use this 
rule a lot).
So if the environment is es-UY, I can show terms from archetypes in "es", 
"es-UY", "es-AR", etc, if there is no better match in the archetype.
What do you think?


-- 
Kind regards,
Eng. Pablo Pazos Guti?rrez
http://cabolabs.com

From: [email protected]
To: openehr-technical at lists.openehr.org
Subject: Re: Ocean Template Designer crashes
Date: Fri, 6 Jun 2014 06:01:13 +0000






Hi Pablo,



Archetype Editor's menu option to change to a different language is different 
from the command-line option:



* The command line option overrides your computer?s locale. For example, when 
in England, your computer's locale is probably "en-GB" and the user interface 
will be displayed in English. Archetypes will also display the "en-GB" 
terminology, if available,
 falling back to the neutral ?en? if need be. If you specify the "es-UY" 
command-line option, however, the user interface will be displayed in Spanish 
and archetypes will display the Spanish terminology, if available.



* The menu option to change to a different language does not affect the 
language that the user interface is displayed in. It only chooses which 
language the current archetype is displayed in.



Template Designer can do the former, but to the best of my knowledge it cannot 
do the latter. So I guess what you?re asking for is the ability to use Template 
Designer in one language but to choose a different language for the template.



In the meantime, you can use the command-line /l: option. Like the Archetype 
Editor command-line option, it changes the whole user interface, including the 
template and archetype terminology. It also changes the OPT export language. 
Yes, this is a very
 inconvenient way to view a template in a different language, especially if you 
don?t know how to read the language that you?ve selected!



Peter






On 6 Jun 2014, at 15:01, pablo pazos <pazospablo at hotmail.com> wrote:



I just double checked, yes that's my version (rev 1214) :)



The difference with the AE is that has a locale change using the menu on the 
UI, will try the command line for the TD, but I think doing this from the UI is 
simplest. Maybe that can be a nice feature to request (?)



-- 

Kind regards,

Eng. Pablo Pazos Guti?rrez

http://cabolabs.com





From: [email protected]

To: openehr-technical at lists.openehr.org

Subject: Re: Ocean Template Designer crashes

Date: Fri, 6 Jun 2014 04:30:44 +0000



pablo pazos <pazospablo at hotmail.com> wrote:




The version I have is 2.6.1214Beta, don't know if that's the last revision of 
the 2.6 version.







That?s interesting, the latest 2.6 version that we have is 2.6.1213. Our 
downloads server crashed here last year and maybe we lost a version.







One issue I had, not related to crashes, is the difficulty to select the 
language for the template/OPT, I couldn't find where I can specify the 
language. It seems TD is detecting my environment language (es), but don't know 
how to change it e.g.
 for english.







You can use the /l: command-line switch. For example, to select Spanish, you 
could edit your Template Designer shortcut:



"C:\Program Files (x86)\Ocean Informatics\Template 
Designer\TemplateDesigner.exe" /l:es-UY



You have to specify a culture-specific language, i.e. you must include the 
country. Once you?ve done this, you will see the language code in Template 
Designer's title bar.



The Archetype Editor has had much the same capability for the last couple of 
years too.




Peter 











_______________________________________________
openEHR-technical mailing list
openEHR-technical at lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org   
                                  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20140607/5cf4743e/attachment.html>

Reply via email to