Mapping Localized Properties
Ramon Gavira Sáenz via opencms-dev <[email protected]> Tue, 25 Jun 2024 09:14:56 +0000
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <AM6PR05MB5270072CE9315A3D528EA390E2D52@AM6PR05MB5270.eurprd05.prod.outlook.com> |
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
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
https://lists.opencms.org/mailman/listinfo/opencms-dev