Difference between revisions of "Language Library"

From SmartWiki
Jump to: navigation, search
Line 7: Line 7:
 
* some components of the Reporting System may required Language Library translation/
 
* some components of the Reporting System may required Language Library translation/
  
The Language Library setting are located on the Branding and Terminology tab of the Global Settings.
+
The Language Library setting are located on the Branding tab of the Global Settings.
  
 
[[image:language Library-001.png]]
 
[[image:language Library-001.png]]

Revision as of 10:42, 13 July 2017

Introduction

The purpose of the Language Library is to translate any string value (text) to another language. There are very specific use cases for the Language Library.

  • you may need to change the captions of some build-in labels to something suitable to your organization. As a example you can rename the the default term "company" using the Global Terminology settings to Organization but you could not set the value of that string for a user of another language - you must use the Language Library.
  • You may wish to shorted some existing captions. As an example Organization Hierarchy is a standard menu item but you may wish to change this to simply Hierarchy.
  • some components of the Reporting System may required Language Library translation/

The Language Library setting are located on the Branding tab of the Global Settings.

Language Library-001.png

Edit Translation

Each Language Library entry consists of the following fields

Language Library-002.png

  • Label - Specified the text string that you wish to translate.
  • Language - Specified the language to be associated with this translation. This language settign will be compared to the users's language setting to determine if the translation is required.
  • Translation - Specified the translation to be used for this string in the selected language.
  • URL - You can use the URL to restrict the the translation to a specific page. You would use this feature if you needed to apply a different meaning to the same string in a different location. If URL is left blank, the translation will be applied to all pages.

Example

In this example, the word Organization is changed to Organisation (British Isles spelling).

Language Library-003.png

Similar translations would required for each string that contains Organization; singular and plural and within other strings such as Organizational Hierarchy. The list of translations will look as follows if the additional translations were created.

Language Library-004.png

The effects of these translations will be seen throughout the system where these strings are referenced.

Language Library-005.png

SSTranslate

SSTranslate is a SmartSimple built-in function used to translate blocks of text that may exist in a Web Page View field.

You can tag a block of text to be processed by the Language Library using the ssTranslate syntax. See Translating Web Page Views for further information.

Notes

  • The Page X of Y navigation label can be translated using the following syntax:
Page @PN@ of @PT@
So to translate to Spanish:
Page translation.png

See Also