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 <patrickdub...@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.tutkow...@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 <patrickdub...@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