Skip to content

Commit

Permalink
add contents to User and Birt labels
Browse files Browse the repository at this point in the history
  • Loading branch information
gmansueto committed Apr 11, 2023
1 parent f19cecc commit 09e9125
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion chapter_3/localization/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The currently supported languages for system labels are:



.. figure:: media/image000_8.3.png
.. figure:: media/image004_8.1.png

Change default language.

Expand All @@ -50,6 +50,14 @@ It is also possible to translate objects created by the user like:

User labels
------------
To set *User labels*:

- Check the available languages under the Domains configuration in the Admin menu (see the entry with domain code LANG). The ValueCd must have the ISO code of the language (three letters).
- Inside the knowage metadata database the table SBI_I18N_MESSAGES contains the labels translations.
- LANGUAGE_CD: must be the ID of the language from the SBI_DOMAINS table
- LABEL: is the label name to be used as placeholder, must begin with i18n
- MESSAGE: contains the translated string in that particular language that corresponds to that label
- ORGANIZATION: the tenant name



Expand All @@ -65,6 +73,11 @@ The name of the properties file is *messages_* plus the current locale, e.g. for
BIRT Property Editor - Resources


The messages file has a syntax like this for each label, *message_code = internationalised message*
For example: title_code = title of the document


To localize a message in a field within a report template, the user needs to define the code filling the Text key field by clicking on the Localization voice under the field properties tab.



Expand Down
Binary file added chapter_3/localization/media/image004_8.1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 09e9125

Please sign in to comment.