Using different languages in TIS-Board

Switching End-User
language

 Users can select the language individually at TIS-Board by going to user setting 

and switching to a language that is supported.

Languages in TIS-Editor

Decide upon the development in TIS-Editor for the programmers and DON'T change it afterwards.
Otherwise you might get difficulties at many places (e.g. a formula operator expecting a FROM, but getting a VON ..)


Prepare for
languages in Board

  1. Decide for a default language for the interface when developing the board and naming columns and add resources.
    Keys written like his [[key]]tell the software to look up the text there.


  2. Use resources to provide different languages in the Board. You access the resource catalog from various places (were you see a few ...)
    to select one with a double click (or edit it by just typing). Editing is somehow easier (as a double-click allows to change the value) via
     / edit resources from the menu.
  • Page: header and help text
  • Portlet header, help text ...
  • Folder properties
  • ...

  • in the portlet designer you see the reference
    In the resource editor


TIPS:

  • Save from time to time
  • make sure you do not accidentally select a key
  • Use the powerful copy and paste feature
  • For each key there should be only one default group value
  • F2 allows for easy editing in a cell of the resource file
  • It is possible to copy/paste single rows (from v5.11)
  • it is possible to copy/paste whole tables (from v5.11)
     

Languages for
parameter Caption
(with buttons)

In Parameters you refer to a resource by writing the Key in this way [[Key01]] in the caption field


In development mode you see 

 

Finally

Using languages in the TIS-Editor

Knowing the Client
language 

In the formula Editor use e.g. set a parameter like this

XIH.SetParam("USER_LANGUAGE", XIH.CurrentLanguage())
And create e.g. a logon Event in Board to recalculate this formula.


Get all resources

You may use the operator, e.g. to provide a central table of resources (making it easier to propagate updates).

 

A parameter like the one above helps to filter the values for the language.


Use resources in
operators like
Multiselect

Create a table like this and show the column with references in Multi-Select, use the other column to e.g. keep
calculations in formulas stable


Additional options for 
the formula operator

XIH.GetResourceText( ...), e.g. using a parameter:

XIH.GetResourceText("of", ((string)XIH.GetParam("USER_LANGUAGE")))