GUI Translation

gui-translation

The button “GuiTranslation” lets you view, edit and delete language files in Adaptive. Essentially this gives you the user the possibility to change the text on buttons, fields, headers etc. As shown in map application.

For this feature to be active there is a need for ensuring that this enabled to Asplan Viak Internet. If the function is active, it will be shown a table like the one below, if not the table will be empty.

To find the value you want to change, search on the existing field value as shown below.

table-gui-translations

Name Description
Translations object Displays file path to the object in question.
Key Reference value for the correct value.
Lang Language code that describes what the value in Value field is written in. Typical values will be nb: Norwegian Norwegian and English.
Value Shown text. Typical text of a button or headline.
Description A description of the object in the table.

 

If it is desired to change a text on, for example a button and you have found the value you want to change in the table. Right-click on the table row you want to change then select “Edit”. You will then get a single window as shown below:

edit-lang-property

Name Description
JavaScript class Displays file path to the object in question. Possibly. Information about you create a new language. This must be equal to the value for the row you want to add one additional language.
Key Reference value for the correct value. This must be equal to the value for the row you want to add one additional language.
Lang Language code that describes what the value in Value field is written in. Typical values will be nb: Norwegian Norwegian and English.
Value Typical text of a button or headline.
Description A description of the object in the table.

Below is an example of a change that is demonstrated above. Button as it was amended text is highlighted in red.


gui-translation-example

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.