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

TCK API tests framework - Error on framework language support configuration

Apply templateInsert Lucidchart DiagramXMLWordPrintable

    • All
    • GreenHopper Ranking:
      0|i2nx7f:
    • 9223372036854775807
    • Small

      Description:

      By default, not all i18n languages are allowed in the component server, it is configured by the variable:

      • talend.component.server.locale.mapping

      The default value is:

      en*=en
      fr*=fr
      zh*=zh_CN
      ja*=ja
      de*=de

      To change this you need to call the server editing this var with a 

      • -Dtalend.component.server.locale.mapping=*****

      Documentation about it is here: https://talend.github.io/component-runtime/main/latest/documentation-rest.html

      Tested Ukrainian (uk)

      Technical analysis:

      Te actual test framework implementation is doing the following:

      • We execute server-registry-init.sh
      • which create 
        • meecrowave.sh
        • setenv.sh
      • setenv.sh contains the env parameters, including if needed:
        • export MEECROWAVE_OPTS="-Dtalend.component.server.locale.mapping=XXXXXXXXXXX ${MEECROWAVE_OPTS}"
      • We then start the server with server-registry-start.sh who call meecrowave.sh

      But because of "\n" or maybe the "=" character the talend.component.server.locale.mapping is not updated correctly.

            Unassigned Unassigned
            acatoire Axel Catoire
            Axel Catoire, Liang Xia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: