Translate Event Custom Fields

  • MobilityEvents
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago - 4 years 5 months ago #129585 by MobilityEvents
Translate Event Custom Fields was created by MobilityEvents
I have created new Event Custom Fields in components/com_eventbooking/fields.xml based on the explanation in the documentation , and it's working fine.

Now I would like to translate the field label on the "Event Preview" page but it does not seem to work in different languages. I tried to use the "Translation" option and even added the Event Custom Field as New Language Item (by specifying the field name) but it does not seem to work.

Is there a way to translate Event Custom Fields?
Last edit: 4 years 5 months ago by MobilityEvents.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #129600 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Translate Event Custom Fields
Hello

1. Please use language item for label of that custom field. For example, set label to EB_EVENT_PREVIEW

2. Then add that language item EB_EVENT_PREVIEW to the language and perform the translation.

3. Same for value of custom field if you want to do the translation

Tuan

Please Log in or Create an account to join the conversation.