Skip to content

Localization Support for Both Simplified and Traditional Chinese #69

@josephk96

Description

@josephk96

Hello,

We have encountered an issue with the localization feature in FusionAuth themes. Despite configuring the localized_messages map to include both Simplified Chinese (zh_CN) and Traditional Chinese (zh_TW), the language dropdown in our forms is only displaying one option for Chinese.

Here's the snippet from our _theme.tf file (we are using the FusionAuth Terraform Provider:

localized_messages = {
  "zh_CN" : file("${path.module}/../../themes/tpl/i18n/messages_zh_CN.properties"),
  "zh_TW" : file("${path.module}/../../themes/tpl/i18n/messages_zh_CN.properties")
  "ko" : file("${path.module}/../../themes/tpl/i18n/messages_zh_CN.properties"),
}

Please disregard the fact that all the languages are pointing to the same .properties file, we implemented this only for testing purposes to ensure that locales/languages that have not been added to this GH repository can be added manually.

As seen in the attached screenshot, only one Chinese option appears alongside English and Korean. We expect to see both Simplified and Traditional Chinese as separate options.

Could you please guide us on how to properly set up the localization for both Simplified and Traditional Chinese?

Thank you!

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions