Skip to main content
Skip table of contents

Languages

In software development, a Language Dictionary is a feature or module that provides a centralized repository of language-related resources used within an application. It typically contains various elements such as translations, labels, error messages, help texts, and other language-dependent content.

The Language Dictionary allows developers to separate the language-specific aspects of an application from its core logic. This separation enables multi-language support and facilitates the application's localization and internationalization. The Language Dictionary would likely be a built-in feature or a configurable component that helps users develop multilingual applications within the platform.

The Language Dictionary serves as a hub for managing translations of text elements used in the application. It allows developers and administrators to add, modify, or update translations without changing the application's underlying code.


Steps

  1. On the top right, navigate to 
     → <<your solution>>
  2. On the left, navigate to 
     → Setup
  3. Navigate to Localization → Languages (1).
  4. Click the New Language (+) button (2) to add a new language.
  5. In the popup window, add the details of the new language.
    1. Language Name - Name of the language.
      In our example, Portuguese
    2. Language Code - Code of the language for mapping on AppBase language. This must be a valid code. To check the valid codes, visit Codes for the Representation of Names of Languages in the Library of Congress.
      In our example, the language code for Portuguese is pt
    3. Plural Forms - Number plural forms of the language. This is an auto-populated field.
      In our example, change the default selection to the one for Brazilian Portugues: pt_b.
    4. ExtJS locale - Language code for ExtJS library. This is an auto-populated field.
      In our example, change the default selection to the one for Brazilian Portugues: pt_BR.
    5. MomentJS - Language code for MomentJS library. This is an auto-populated field.
      In our example, change the default selection to the one for Brazilian Portugues: pt-br.
    6. Is Default - Set it this will be the default language or not (It can be only one default language. You cannot delete the default language).
  6. Save the definition.
  7. Navigate to Translations and validate the status of the compilation of the new language. It could take about 5-10 minutes to complete.
  8. The next step is to Edit the translation and add the new values for all the keys in Translations.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.