cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milamber <milam...@apache.org>
Subject Re: New label to be translated
Date Wed, 23 Mar 2016 10:55:30 GMT
Hello Patrick,

If you need to add new keys in javascript dictionary, it's preferable to 
put in the dictionary2.jsp file.

Please read this note (inside the head of dictionary.jsp)

========
****
NOTE
****

Please use dictionary2.jsp for all new mappings. This is due to
file size constraints for JSP files.

If you add anything else to this file, an error might occur at runtime!
===========

Milamber

On 22/03/2016 18:41, Tutkowski, Mike wrote:
> Maybe one of the people who works on the GUI more than I do can answer why we have two
files for that now. We used to only have one.
>
> I think you can just put your key/value pairs in one or the other.
>
> Sent from my iPhone
>
>> On Mar 22, 2016, at 11:44 AM, Patrick Dube <patrickdube91@gmail.com> wrote:
>>
>> Thanks for the info. I have added the message to the messages.properties
>> file I found under /resources, then rebuilt and restarted the server and it
>> worked . I also added the keys in both dictionary files, but why do we have
>> 2 dictionary files?
>>
>> On Tue, Mar 22, 2016 at 1:25 PM, Tutkowski, Mike <Mike.Tutkowski@netapp.com>
>> wrote:
>>
>>> I don't do a ton of front-end work on CloudStack, but I believe you're
>>> looking for dictionary.jsp and/or dictionary2.jsp.
>>>
>>> I think the relevant properties files for translations can be located here:
>>>
>>> client/WEB-INF/classes/resources/*.properties
>>> ________________________________________
>>> From: Patrick Dube <patrickdube91@gmail.com>
>>> Sent: Tuesday, March 22, 2016 11:19 AM
>>> To: dev@cloudstack.apache.org
>>> Subject: New label to be translated
>>>
>>> Hi all,
>>>
>>> I am working on something that requires a new label to be added, which
>>> should be translated. I am probably looking on the wrong folders, but where
>>> can I add the new label, and it's translations?
>>>
>>> Thanks,
>>>
>>> Patrick
>>>


Mime
View raw message