request #13742 Problem adding a new translation
    Leonid Terekhov (lterekhov)
    2019-08-13 10:16
    2019-08-12 15:26
    Problem adding a new translation


    I wanted to add a translation.

    I focused on the following topic:

    1. Added a folder with localization in /etc/tuleap/site-content/ru_RU

    2. Added settings to ru_Ru.tab:
      1. locale ru_RU
      2. locale_label Russian
    3. Specified localization in local.inc

    However, I get the error:

    [12-Aug-2019 09:21:27] WARNING: [pool tuleap] child 154 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Uncaught Tuleap\Layout\IncludeAssetsException: manifest.json doesn't reference tlp-ru_RU.js. Did you run `npm run build` ? in /usr/share/tuleap/src/common/layout/IncludeAssets.php:60"
    [12-Aug-2019 09:21:27] WARNING: [pool tuleap] child 154 said into stderr: "Stack trace:"
    Translation / gettext / i18n
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Nicolas Terray (nterray)
    Referencing request #13742
    Referenced by request #13742

    Artifact Tracker v5


    • User avatar
      Thank you for your prompt work. I'll start the translation. As it is ready, I will turn to for help.
    • User avatar
      @lterekhov you can upgrade your Tuleap server to or above. If you are willing to integrate your translations in Tuleap codebase, we can help you to do so.

      Thanks for the report!
    • User avatar
      Thomas Gerbet (tgerbet)2019-08-13 09:48
      gerrit #15771 integrated into Tuleap

      Ultimately we might need to rethink things a bit, loading new translations in all the Tuleap JS code is far from easy at the moment as some files need a full rebuild to be used.

      • Status changed from Under review to Closed
      • Connected artifacts
      • Close date set to 2019-08-13
    • User avatar
      Thank you for the information. I'll wait!
    • User avatar
      • Category changed from Docker images to Translation / gettext / i18n
    • User avatar
      For your information gerrit #15771 is under review to fix the issue.

      • Status changed from Verified to Under review
      • Assigned to changed from None to Nicolas Terray (nterray)
    • User avatar

      It is a known issue (it seems that I forgot to create a ticket for it). Tuleap needs to fallback to english assets (js) for unknown languages.

      • Status changed from New to Verified