Hello Everybody,
I have a question that I hope someone can answer.
I have the "early access edition" of liferay in action. In this book it says that liferay is capable of translating Language.properties files automagically using an online translator service. (see bottom of post)
Problem is that my language.properties file wont be translated correctly. I get the other language.properties files but theyre not translated as I would expect.
In "Language.properties" I have:
product-saved-succesfully=Product Saved Successfully
In "Language_nl.properties" I get:
product-saved-succesfully=Product Saved Successfully (Automatic Translation)
What has just happened? The Plugins SDK contains Ant targets which have the ability to use an online service
to translate all of the keys in your file to multiple languages. All we did by providing the Ant task we created was to
give those Ant targets the parameters they needed to do their work: namely, the folder where our
Language.properties file exists and the name of the file. Once we did that, we were able to use the service to
generate all of the language files you now see in that folder.
Please sign in to flag this as inappropriate.