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

    Hello!

    I wanted to add a translation.

    I focused on the following topic:
    https://tuleap.net/plugins/forumml/message.php?group_id=101&topic=34050&list=1

    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:"
    
    Empty
    Translation
    11.4
    CentOS 6
    Empty
    Stage
    Nicolas Terray (nterray)
    Closed
    2019-08-13
    Attachments
    Empty
    References

    List of items referenced by or referencing this item.

    Artifact Tracker v5

    Follow-ups

    • 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 11.4.99.131 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
      gerrit #15771 integrated into Tuleap 11.4.99.131.


      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
    • 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
      Hello,

      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