Coming soon: Your brand new Help Center & Community! Get a sneak-peek here

language support for screens and custom tables

Hi, 

What is the correct way to use the different languages in screens and userdefined tables?

I have to create a new screen where the labels (or titles) of elements are displayed in different languages. (E.g.: German: "Nummer", English "Number"). I can see that there is a tab called "Edit language" but I cannot find any hint for the syntax to translate this label into german or englisch.

I tried the following:

- in the definition of the screen-element I set in the simple values section: label = %lang("num")%
- in the Edit language section for German I set num = Nummer.

In a custom table I tried to set the name of the field to "GE:"Nummer";US:"Number" but that didn't work also.

Any ideas or hints or documentation?

BR 

Ulli

RE: language support for screens and custom tables

Hi Ulrich,

You have the general idea of how to accomplish this, but syntax is just slightly wrong.

How you define variable in Edit Languages under each "Language tab" is;
num = Nummer

How you assign this variable to label in simple values is;

label = %num%

Generally for such adjustments I recommend to look at how this is done in "Standard screens", as they are locked for editing best practice is to take copy of screen.

Von: Michel Krohn-Dale 11. Okt 2019

RE: language support for screens and custom tables

Hi Michel,

thanks for the info, now it works.

But what about extra-fields e.g.g on table ticket? I have created an extra-field as a relation to project-table and the name is set to "Projekt" (german spelling). If I now change language to english the name is still "Projekt" because I don't know how to translate it. I tried the way we know from S&M admin (GE:"Projekt";US:"Project") but that doesn't work. Is there any way to do this translation?

Same problem on  extra menus, categories, priorities or request status or : how to do multi-language naming?

Same problem on extra tables and the (hidden?) viewExtraTableEntry: here are the names of the columns to be translated

=> is there a possibillity to add multi-language support?

I'm not quite sure if I have met all places where multi-language support is needed but if there is a qay anyhow it would be great.

BR

Ulli

Von: Ulrich Klein 15. Okt 2019

RE: language support for screens and custom tables

Hi,

Currently there is not any similar function in Service for multilanguage support like in S&M admin unfortunately. 
However as for all improvements we appreciate feedback, and wish requests can be registered to bug@superoffice.com

Von: Michel Krohn-Dale 15. Okt 2019

RE: language support for screens and custom tables

Hi Michel,

thanks for your feedback. As I see it now, we can create a copy of all screens and in the copied version create the language-part for multi-language support. With the right screenchooser we can handle all this screens.

Unfotunately some screens are hidden, e. g. the view- and editExtraTableEntry screen. Is it possible to get a copy of these or do we have to creeate our versions from scratch?

 

With all the other stuff (category, priority, status, extra menu, web panel, ...) I will send a wish to the correspondig address.

Thanks a lot for your help!

BR

Ulli

Von: Ulrich Klein 15. Okt 2019

RE: language support for screens and custom tables

Hi Ulrich,

I highly recommend not having duplicate screens for each language. It will be a maintenance hell. Also, as you point out, the screens for viewing/editing are not "Custom screens" and will have to be coded.

I cannot promise anything, but we would like to check out how much work it would be to get multilang support in Service. We are just talking about field labels, right?

Sverre

Von: Sverre Hjelm 16. Okt 2019

RE: language support for screens and custom tables

Hi Sverre,

I'm not planing to do a copy of every screen for every language, I will make only one copy of a screen and there set the values for the labels and titles to be translated.

But you're right, this will be a hell of administration and every update can have effects which I cannot see now.

 

In the end I like to have a system which can be set up in multi-language. This means:

- all labels I can set in the admin-client (extra-fields and extra-tables including "values from list" in a short-text field) 

- all list-entries in lists (e. g. request-status, categiory, priority, extra-menue, web-panels, ...)

can be translated to the corresponding value in the corresponding langúage..

Perhaps the solution can be a global setting "edit languages" (similar to the one in screens)?

Thanks a lot!

Ulli

Von: Ulrich Klein 16. Okt 2019

RE: language support for screens and custom tables

Sverre, if you are looking into multi-language support in Service these reports are relevant.[20254] [29747] [38090] [54269]

Von: Frode Lillerud 16. Okt 2019