Updated on 2025-08-15 GMT+08:00

Setting the Supported Languages

In applications developed on Huawei Cloud Astro Zero, pre-configuring the supported languages is essential for enabling multilingual content display in the user's desired languages. On the translation console page, you can add, delete, and edit languages supported by the system. Disable a language before deletion.

Adding a Language

  1. Log in to the Huawei Cloud Astro Zero console and click Access Homepage. The application development page is displayed.
  2. In the upper left corner of the page, click and choose Environments > Environment Configuration.
  3. In the navigation pane, choose System Settings > Internationalization Settings > Supported Languages and click New.
  4. Set related parameters and click Save.

    Table 1 Parameters for adding a language

    Parameter

    Description

    Language

    Select a language from the drop-down list.

    As Default Language

    Indicates whether to set the new language as the default language.

    For example, if the default language is English and the multi-language field ProductName is only set in English, the field will display in English for users.

    Enable

    Indicates whether to enable the language. If this option is selected, the language is enabled.

    The language can be displayed in the multi-language field after this function is enabled.

Using an Added Language

After a language is configured and enabled, it will appear in the language area on the right side of the translation page. Translators can then use this language for translation tasks.

Most translation records are used by application developers. Huawei Cloud Astro Zero only uses part of these records, such as those related to custom applications and menus.

  1. Log in to the Huawei Cloud Astro Zero console and click Access Homepage. The application development page is displayed.
  2. In the upper left corner of the page, click and choose Environments > Environment Configuration.
  3. In the navigation pane, choose System Settings > Internationalization Settings > Translation Settings.
  4. Follow the translation guide to complete the translation.

    Figure 1 Translation
    Table 2 Parameters

    Parameter

    Description

    Language

    Target language of the translation task. Only the assigned translator can select a language for a translation task.

    The values of Language are the languages enabled in Adding a Language.

    Resource

    Component to be translated. Select a component from the drop-down list.

    Custom Application

    Application to which the menu to be translated belongs.

    This parameter is displayed only when Resource is set to Menu.

    Object

    Object to which the content to be translated belongs.

    This parameter is displayed only when Resource is set to Standard Field, Custom Field or Button or Link.

    Content

    Aspect to which the content to be translated belongs.

    This parameter is displayed only when Resource is set to Standard Field, Custom Field, or Flow Task.

    Picklist

    Picklist to which the value to be translated belongs.

    This parameter is displayed only when Resource is set to Picklist Value.