Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 -
- 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Nicolas V. 1 year, 3 months ago.

Assisted by: Nicolas V..

Author Posts
April 5, 2024 at 1:12 am #15486046

josephG-12

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.

hidden link

Screenshot 2024-04-04 at 9.10.40 PM.png
April 5, 2024 at 10:04 pm #15489961

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

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. */

/* Memory Limit */
define( 'WP_MEMORY_LIMIT', '256M' );

More info: https://wpml.org/home/minimum-requirements/

---

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

April 5, 2024 at 10:51 pm #15490045

josephG-12

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.

April 8, 2024 at 11:22 am #15493852

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hi,

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.

April 9, 2024 at 2:44 pm #15499984

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

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

Following this documentation: https://wpml.org/documentation/support/enabling-text-translation-for-themes-not-compatible-with-wpml/
- You could try to make the timezone label translatable
Please note that modifying the plugin's code is not recommended because every time there is an update it will overwrite your changes. That's why I recommend you to contact their support.

April 11, 2024 at 3:55 pm #15510328

josephG-12

Thanks for the video and links. I'll take a look at those and see how I can resolve this issue.

I need help with something else related to email confirmations translations. Do I need to create a new ticket?

April 11, 2024 at 10:06 pm #15511009

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Since we limit one issue per ticket, may I kindly ask you please to open a new ticket for your additional question? But as a first step, you can have a look at this documentation: https://wpml.org/documentation/related-projects/woocommerce-multilingual/how-to-translate-woocommerce-emails/

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.