Multilanguage messages

  • Yiannis Papakostas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 day 20 hours ago #177124 by Yiannis Papakostas
Multilanguage messages was created by Yiannis Papakostas
Hello, in the configuration we can customize the default messages for every language.
But if we want to customize a different message for a specific event we can customize only the basic language. There is no message fields in the translation tab.

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

More
1 day 16 hours ago #177125 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Multilanguage messages
Hi Yiannis

How many languages you are using on your site? And what messages you want to be able to translate inside the event?

Please let us know so that we can look at it to see if it is possible to translate these messages inside the event

Regards,

Tuan

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

  • Yiannis Papakostas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 day 15 hours ago #177126 by Yiannis Papakostas
Replied by Yiannis Papakostas on topic Multilanguage messages
I use the default plus 6, total 7 languages.

I want to translate "user_email_body_offline" message only for a specific event because the bank account info are different.

The default string en english is:
<p>Dear <strong>[FIRST_NAME] [LAST_NAME]</strong></p><p>You have just registered for event <strong>[EVENT_TITLE]</strong>. The registration detail is as follow :</p><p>[REGISTRATION_DETAIL] .</p><p>Please send the offline payment via our bank account . Information of our bank account is as follow :</p><p>Account Holder Name, Bank Name, Account Number XXXYYYZZZZ</p><p>If we don't receive your payment within 3 days, we will cancel the registration and you cannot attend to this event .</p><p>Regards,</p><p>Events management Team</p>

Can i use joomla language override to translate this string for each language? I havent tried it.

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

More
1 day 15 hours ago #177127 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Multilanguage messages
Ah, for the large number of languages like that, it is not possible to translate messages inside the event due to the structure of the event. Maybe you can try to use conditional text feature for the message inside the event to have different value for each language, see docs.joomdonation.com/eventsbooking/basi...tup/conditional-text for instructions. For example:

{ebShowText [LANGUAGE]=en-GB}This text will be shown if registrant language is English{/ebShowText}
{ebShowText [LANGUAGE]=de-DE}This text will be shown if registrant language is German{/ebShowText}

Something like that might work

Regards,

Tuan
The following user(s) said Thank You: Yiannis Papakostas

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

  • Yiannis Papakostas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 hours 3 minutes ago - 16 hours 2 minutes ago #177128 by Yiannis Papakostas
Replied by Yiannis Papakostas on topic Multilanguage messages
I have tried this below (in one line per language) for User Email Body (Offline Payment) and Thanks message (Offline Payment) inside the event and it didnt work.
Are you sure that [LANGUAGE] is available and working?
I use eventbooking version 5.3.1
I didnt updated to 5.4.0 because of this: joomdonation.com/forum/events-booking-ch...released.html#176412

{ebShowText [LANGUAGE]=en-GB}<p>Dear <strong>[FIRST_NAME] [LAST_NAME]</strong></p><p>You have just registered for <strong>[EVENT_TITLE]</strong>. The registration detail is as follow :</p><p>[REGISTRATION_DETAIL] .</p><p>Please send the payment via our bank account. Information of our bank account is as follow :</p><p>Accountholder: xxxxxxx<br>IBAN: xxxxxxx</p><p>If we don't receive your payment within 3 working days, we will cancel the registration and you cannot attend this event.</p><p>Regards,</p><p>Events management Team</p>{/ebShowText}
Last edit: 16 hours 2 minutes ago by Yiannis Papakostas.

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

  • Yiannis Papakostas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 hours 30 minutes ago #177129 by Yiannis Papakostas
Replied by Yiannis Papakostas on topic Multilanguage messages
I think i figured out why it doesnt work.

I have greek as default language and english as secondary.

In the database i have global settings for message thanks_message_offline:

thanks_message_offline: greek text (default language)
thanks_message_offline_en: english text

In event editing the custom thanks_message_offline message corresponds to greek language so anything i put inside will only be displayed if the user uses greek language.

When a user uses english language the message that will be displayed will be that set in the database thanks_message_offline_en no matter what i put inside event editing because that is only for greek.

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

More
4 hours 20 minutes ago #177135 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Multilanguage messages
Hi Yiannis

- You should still update to latest version of Events Booking. The conflict with EShop was already sorted
- For the issue, Yes, you are right. The translation message for a specific language takes higher priority, so the system will use the global message in this case. Maybe we can implement an override to allow using the event message for this case. You can submit a support ticket sending us super user account of your site, we will help with implementing override

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc