Author Topic: Archi Report Translation  (Read 2585 times)

semrola

  • Newbie
  • *
  • Posts: 1
Archi Report Translation
« on: February 10, 2016, 07:39:05 AM »
Hello!
I am wondering if there is a way to include folder 'templates' in 'com.archimate.reports' in a translation for my language (as a plugin)? It includes a folder 'i18n' with 'en.css' where are strings that need to be translated. I tried different things but none of them works. Any idea?

Thanks

EDIT: Do I just edit the 'en.css' file (or add my own and change the path in 'i18n.css') and export the deployable plugin?
« Last Edit: February 10, 2016, 10:07:23 AM by semrola »

Phil Beauvoir

  • Administrator
  • Hero Member
  • *****
  • Posts: 1639
  • Code Punk
    • Archi
Re: Archi Report Translation
« Reply #1 on: February 10, 2016, 11:24:58 AM »
Hi,

In this case you will need to translate the actual contents and replace it with the translated version.

Phil
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

Jean-Baptiste Sarrodie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • Archi Evangelist and Contributor. Visionary.
    • About me...
Re: Archi Report Translation
« Reply #2 on: February 10, 2016, 14:22:15 PM »
Hi,

Current version of report doesn't support internationalization but has been created with such feature in mind.

So the easiest way is to actually edit en.css and adapt it to your needs.

Another option (not really useful asof today) would be to:
  • create a new .css file for your language
  • import this new language .css file from i18n.css
  • change html tag frame.stg and modelreport.stg (st folder) to have a lang=xx according to your new language

In addition (not related to language) the whole generation is done through StringTemplate engine, so you basicaly can change any part of the report.

Regards,

JB
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

majiro

  • Newbie
  • *
  • Posts: 3
Re: Archi Report Translation
« Reply #3 on: July 26, 2021, 08:29:38 AM »
Hi,

I'm interested in internationalization in Archi and I have found this thread.

I'm going to prepare Japanese resources ( for UI, first of all ) but could we discuss how I can contribute them.

BR
Jiro
« Last Edit: July 26, 2021, 08:34:27 AM by majiro »

Phil Beauvoir

  • Administrator
  • Hero Member
  • *****
  • Posts: 1639
  • Code Punk
    • Archi
Re: Archi Report Translation
« Reply #4 on: July 26, 2021, 08:36:44 AM »
Hi,

I'm interested in internationalization in Archi and I have found this thread.

I'm going to prepare Japanese resources for UI but could we discuss how I can contribute them.

BR
Jiro

Hi, the information for translation is here:

https://github.com/archimatetool/archi/wiki/Translating-Archi

There are people who have translated Archi who would be best to consult on this. If you search this forum and the issues tracker (https://github.com/archimatetool/archi/issues) you can see how they managed it.

Please not that a translation pack should be maintained and hosted by the translator, although we can link to it on the Archi website.

Phil
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

majiro

  • Newbie
  • *
  • Posts: 3
Re: Archi Report Translation
« Reply #5 on: August 03, 2021, 05:21:39 AM »
Hi Phil,

Thanks a lot and I will check Wiki info that you suggested first.

BR
Jiro