0 Replies Latest reply on Oct 28, 2016 6:59 AM by aofner

    [i18n] Translation of html attribute values does not work as expected




      according to ERRAI-962 it is possible to translate html attributes with errai. I made a simple "proof of concept" repo after having troubles translating attributes in our main app.

      Check out: https://github.com/aofner/errai-ui-translate-attr


      The "poc" app is based on "3.2.4.Final", tried it with errai "4.0.0.Beta3" without results.


      The auto generated errai-bundle-extra.json contains:


        "TemplatedWidget.link-title" : "",

        "TemplatedWidget.text-placeholder" : ""



      Apparently errai finds these attributes but does nto invoke translation using the translation key.

      What is wrong with my code? Any hints are welcome.