O'Reilly logo

Liferay 6.x Portal Enterprise Intranets Cookbook by Katarzyna Ziółkowska, Piotr Filipowicz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The language properties hook

Liferay has a multilanguage architecture and enables users to add content with many translations. Moreover, it gives users out-of-the-box functionality to change languages. Apart from this, the content portal also contains many labels that also have their own translation. It means that the Liferay design has a functionality in which it is possible to translate labels or fields. If we look into the sources (portal-impl/src/content), there are a lot of files with the following names: Language_en.properties, Language_de.properties, Language_pl.properties, and so on. The ISO 639-1 standard defines a set of possible codes for every language, such as en for English, de for German, and so on. The Liferay Portal supports up ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required