Search Results for

    Show / Hide Table of Contents

    Worker site localization

    In Casewhere, localization is a built-in feature that you can set up in a few simple steps.

    Configure Localization settings for worker site

    To configure localization for your worker site:

    • From Casewhere Admin, navigate to Worker Sites.

    • Select your worker site and click Edit.

    • Navigate to the Localization section.

    The Localization section of a worker site

    Name Description
    Default Language The language to be displayed by default
    Timezone Time zone to display time value
    Short Date Format of short date. Example: dd-MM-yy
    Long Date Format of long date. Example: dd-MM-yyyy hh:mm
    Decimal Separator Decimal separator. Example: 1,4 or 1.4
    Thousand Separator Thousand separator. Example:1.200 or 1,200

    The below example illustrates how these settings works.

    A book in the book form of the worker site, with the default formats of English

    Set Short Date format to "dd-MM-yy", Decimal Separator to ", (comma)" and Thousand Separator to ". (period)". The thousand separator must differ from the decimal separator: with the default decimal separator of English, a period, a period as thousand separator has no effect.

    Short Date dd-MM-yy, Decimal Separator comma and Thousand Separator period

    The date will be displayed in "dd-MM-yy" format, and numbers with "." between the thousands and "," before the decimals, as we have set.

    The same book with Short Date dd-MM-yy and Thousand Separator period

    Set Timezone of worker site. Date and time values show in the time zone of the worker site: below, the time the book was bought, in UTC+1.

    The purchase date and time of the book in the time zone UTC+1

    In Casewhere Admin, the current time zone of this worker site is set to UTC+1.

    The Timezone list with (UTC+01:00) selected

    Change the time zone to UTC+7.

    Timezone (UTC+07:00) Bangkok, Hanoi, Jakarta

    The time will be displayed in time zone UTC+7.

    The same purchase date and time in the time zone UTC+7

    Configure worker site languages

    • In Casewhere Admin, click on menu Text Resources in the left panel.

    The Text Resources list

    • Click More on the toolbar and select Set Languages.

    The More menu with Set Languages

    • Click Create to add a new language.

    The Create Language dialog

    • Click Save.

    The Languages window with English and Danish

    Add key

    • Click on Add toolbar button.

    • Enter the key name and a description, then click Update.

    A new key in the Text Resources list

    • To enter the key's values in the different languages, click Edit at the end of its row.

    The key name must be the same as displayed name. Below is an example for a button named "save_and_next_navigation_button".

    The Edit Text Resource dialog: the key and its value in each language

    Now go to the worker site to see how it works. On the top right of your worker site, you will see the list of languages that you have set before.

    The language menu of the worker site: English and Dansk

    As set, English is the default language, so the text of button will be displayed in English.

    The button Save & next in English

    When selecting Dansk, the text of button will be displayed in Danish.

    The same button in Danish: Gem og næste

    In This Article
    Back to top Generated by DocFX