Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-2355

Error on language support for xx_YY language files

Apply templateInsert Lucidchart DiagramXMLWordPrintable

    • All
    • Small

      Description:

      All i18n languages seem not to be supported by api call despite that we supply the messages.property file

      Is there a documentation about it?

      Technical analysis:

      The LocaleMapper transforms the whole locale to lowercase and thus also transforms the region (which is intended to be in uppercase):
      https://github.com/Talend/component-runtime/blob/a63271daab9dbadb82b864d70f3580a9e45bd821/component-server-parent/component-server/src/main/java/org/talend/sdk/component/server/service/LocaleMapper.java#L61

      For testing, changed a Messages properties named Messages_zh_CN.properties to Message_zh_cn.properties and the bundle was found.

            Unassigned Unassigned
            acatoire Axel Catoire
            Axel Catoire, emmanuel gallois
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: