Jahia DX > Translation issues

0 (0 Good)
0 (0 Bad)

Translation issues

by  cachavez »  2011/11/27 23:20

Hi All.

I tried to add some translation keys but for some key works but for other key it did not work

for the key label.publication, label.publish and label.publishall did wok.

but for label.areaDisable, label.areaEnable and jnt_text did not work.

--

Cheers.

Carlos Chávez.

Quoin Inc.

  (cachavez)

Number of messages  32
Registration date
0 (0 Good)
0 (0 Bad)

Re: Translation issues

by  shyrkov »  2011/11/29 08:43

Hello Carlos,

which file are you adding those labels into?

 

Kind regards

Sergiy

  • Re: Translation issues
    2011/11/29 08:43

    shyrkov <p> Hello Carlos,</p> <p> which file are you adding those labels into?</p> <p> &nbsp;</p> <p> Kind regards</p> <p> Sergiy</p>

  • Number of messages  407
    Registration date Nov 29, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Translation issues

    by  cachavez »  2011/11/29 21:58

    My project has the name "Jahia lac mee", so I have the files:

    Jahialacmee.properties

    Jahialacmee_es.properties

    Jahialacmee_en.properties

    I'm adding on Jahialacmee.properties.

    For example the following works: label.publication=Publicación

    But there is others that I did not work for example label.areaDisable=Deshabilitar area

    --

    Cheers,

    Carlos Chávez

    Quoin Inc.

      (cachavez)

    Number of messages  32
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Translation issues

    by  cachavez »  2011/11/29 22:00

    Of course the traslation should occurs when I switch to "Spanish" in the administration and the enter to the site.

      (cachavez)

    Number of messages  32
    Registration date

    by  shyrkov »  2011/12/01 14:43

    Hello Carlos,

    unfortunately, there are some labels, which cannot be overriden/provided in a module's resource bundle.

    label.areaEnable and label.areaDisable are among them

    Here are some technical details: the editing areas are generated by the client side GWT code (UI, we use for the front-ent in edit mode), so the actual values for those labels come from a auto-generated JavaScript file (for Spanish it is ROOT\gwt\resources\i18n\messages_es.js).

    The messages_<language>.js files are generated when we build the project from corresponding JahiaInternalResources.properties.

    Unfortunately, there is no easy way to regenerate them unless, you are building Jahia from source.

     

    You could of course help us by providing missing Spanish translations in the JahiaInternalResources_es.properties file and we will include your changes into the Jahia.

     

    Kind regards

    Sergiy

  • 2011/12/01 14:43

    shyrkov <p> Hello Carlos,</p> <p> unfortunately, there are some labels, which cannot be overriden/provided in a module&#39;s resource bundle.</p> <p> label.areaEnable and label.areaDisable are among them</p> <p> Here are some technical details: the editing areas are generated by the client side GWT code (UI, we use for the front-ent in edit mode), so the actual values for those labels come from a auto-generated JavaScript file (for Spanish it is ROOT\gwt\resources\i18n\messages_es.js).</p> <p> The messages_&lt;language&gt;.js files are generated when we build the project from corresponding JahiaInternalResources.properties.</p> <p> Unfortunately, there is no easy way to regenerate them unless, you are building Jahia from source.</p> <p> &nbsp;</p> <p> You could of course help us by providing missing Spanish translations in the JahiaInternalResources_es.properties file and we will include your changes into the Jahia.</p> <p> &nbsp;</p> <p> Kind regards</p> <p> Sergiy</p>

  • Number of messages  407
    Registration date Dec 1, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page