[opencms-dev] Mapping Localized Properties

Ramon Gavira Sáenz ramon.gavira at sagasoluciones.com
Tue Jun 25 11:14:56 CEST 2024


Hello,
On the Documentation website, in the section discussing the properties for building a multilingual site (https://documentation.opencms.org/opencms-documentation/template-development/localization/building-a-multilingual-website/#translating-page-titles-and-navigation-properties-1113f4c6), it is mentioned that by adding the suffix '_{locale}' to a property, OpenCms will localize the property's value according to the active locale.
My question is whether it is possible to map a field from the XSD to a property by language. For example, if I edit content in Spanish, can the "title" field be mapped to the property "Title_es", and if I edit the content in English, can it be mapped to the property "Title_en"?
Thank you.

________________________________

Ramón Gavira Sáenz











-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20240625/2a08713c/attachment.htm>


More information about the opencms-dev mailing list