I'm using the events calendar plugin to manage events and I'm using wpml because I need events in English and French. Using string translation I've managed to set up properly French date and time format but I haven't been able to change the timezone to French format.
On the event page I'm testing (link below) the timezone in English is EDT but I need it to be HAE. I need help making this work, I haven't found anything related to this specific topic on previous threads.
Welcome to the WPML support forum. Let's start by meeting WPML's minimum requirements. I've noticed your website has a low PHP memory allocation (40M). The minimum requirement for WPML is 128M but we recommend 256M:
- Access your server via FTP and open wp-config.php (in your WordPress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */
Now regarding your question, I can see in your debug information that you have the following 2 custom fields:
[_EventTimezone] => 1
[_EventTimezoneAbbr] => 1
They are set to "COPY", can you try to set their translation preference to "TRANSLATE" instead?
- Go to "WPML > Settings > Custom fields translation"
- Click on "Show system fields"
- Then search for them and change their translation preference
- Click on "Save"
- Edit an event in the original language (add a space at the end of its title) and save
- Enter the translation and see if you can translate those fields now
Hi Nicolas, thanks for your assistance. I followed all steps except the last 2:
- Edit an event in the original language (add a space at the end of its title) and save
This event is a French event only and has not English trasnlation.
- Enter the translation and see if you can translate those fields now
The timezone abbreviation I'm trying to convert to French, I'm pretty sure is a system generated text. My challenge is where to find it, I don't see any strings containing this to add a translation.
I'm not sure to understand. Let me know if I'm wrong but if it's not a translation, then you should be able to set the Timezone you want directly inside the event itself no?
Could you please provide me an admin access to a staging copy of your site – so I can have a look and understand better the issue?
I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.
IMPORTANT: Before we proceed, please backup your site and database.
Thanks for the access, now I have a better understading on how the Calendar plugin works.
Unfortunately, looking at the plugin code, it takes the timezone set in the event and get the abbreviation automatically, and that makes it not translatable.
I made a video where I share some ideas but it will involve custom code. hidden link
- You could change the timezone in the event itself
Keeping one issue by forum threat helps to keep the forum clean and organized, it will also help other users with similar problems to find solutions when searching the forum. Thanks for your understanding.
The topic ‘[Closed] Timezone French Translation’ is closed to new replies.