This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by Bruno Kos 5 months, 1 week ago.

Assigned support staff: Bruno Kos.

Author Posts
May 3, 2019 at 7:24 pm #3737665

andrewS-24

I am trying to: modify the two values present in the admin screens for The Events Calendar (tribeEventsBeforeHTML and tribeEventsAfterHTML). I've read the following article:

https://wpml.org/forums/topic/translating-the-events-calendar-advanced-html/

However, it won't add the values so I can edit them in the string translation. I've already increased the max_input_vars to be 10000. Can you please provide assistance?

May 4, 2019 at 9:47 am #3739713

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thank you for contacting WPML support!

Sometimes these settings would not save - they would go into timeout and is something that should be resolved in future versions of String Translation plugin. However, I don't have more information at the moment.

However, when this happens, we usually use this plugin:
https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/

Which is available here:
hidden link

After you install it, go to:
Multilingual Tools -> Configuration Generator.

Now go to Admin Texts, find desired Options from wp_options table and when you click any of these, these options wound render. Now select them and save to file (see my image).

Now open that generated XML file and go to the WPML -> Settings page and click the Custom XML Configuration tab:
https://wpml.org/documentation/support/language-configuration-files/overriding-language-configuration-files/

Please try using this tool on a staging site if you have it and remove it once you are done and when you get these texts working with String Translation.

Regards,
Bruno Kos

May 7, 2019 at 6:03 pm #3761067

andrewS-24

Thanks for the help Bruno!

However, which option in the drop down for wp_options should I be selecting? I don't see the option for + tribe_events_calendar_options within that drop down.

Thanks 🙂

May 8, 2019 at 8:38 am #3764639

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

I don't see the option for + tribe_events_calendar_options within that drop down.

You could try to create XML file from all the fields you think that they are related to Events in any way (so select them all from the dropdown from wp_options, usually they could have _events or something similar in the title, you may need to select multiple options). If none of this helps, then it would mean that these fields are not set to be translatable I'm afraid.

Regards,
Bruno Kos

The topic ‘[Closed] Translating the tribeEventsBeforeHTML or tribeEventsAfterHTML values.’ is closed to new replies.