Display translated object data

Some object class properties of the type String and Text can be translated to the secondary languages for which the Support Data Translation attribute is set to True in the culture settings.

When a property is translatable, the translation is written to the database table column "<property tech name>_<language code>"

externalreports_database 

For configured reports of the type Query the translated object data is automatically displayed in the report in the language currently displayed in the user interface. For native SQL queries the change to the current language must be explicitly configured within the native SQL query.

The following configuration is required:

The following query defines a dataset that displays the name and description of applications in the current language with a fallback to the original language. A WHERE condition refering to a filter field is also added:

  • SELECT app.REFSTR, ISNULL(app.NAME/*CULTURE_CODE*/, app.NAME) AS NAME, ISNULL(app.DESCRIPTION/*CULTURE_CODE*/, app.DESCRIPTION) AS DESCRIPTION
  • FROM APPLICATION app
  • WHERE ISNULL(app.NAME/*CULTURE_CODE*/, app.NAME) LIKE @QUERY