Book a Demo

Author Topic: multilanguage return  (Read 7410 times)

fausto bertoli

  • EA User
  • **
  • Posts: 65
  • Karma: +0/-0
    • View Profile
multilanguage return
« on: March 21, 2020, 09:20:51 am »
I know this question has been issued more than 10 years ago.
I would like to know if now finally there is a solution for that.
The relevant point for me was not just only the element naming within diagram,  but also, and more important, the text written as notes.
is there a way to write notes in 2 languages, maybe using some wrapping keywords,  and when generating document in some way select the notes part for the wanted language?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: multilanguage return
« Reply #1 on: March 21, 2020, 06:19:01 pm »
In v15.1 there is a multilanguage feature, but unfortunately it only works from within EA.
You cannot use these translations in queries, add-ins, or reports.

Basically useless if you ask me.

What we did at a few clients is use xml like tags to distinguish the different languages

<NL>Nederlands</NL>
<EN>English</EN>

In the rtf templates we then use a script fragment to get the correct language.

You can find the script here: https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Projects/Project%20A/Template%20Fragments/DescriptionNLFR.vbs

Geert

fausto bertoli

  • EA User
  • **
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Re: multilanguage return
« Reply #2 on: March 23, 2020, 07:29:36 am »
Thank you for the suggestion Geert, we shall adopt such practical approach.
F