Learn how to set different date and time formats for each language on your website with WPML.
Set Date and Time Formats for Secondary Languages
To set different date and time formats for secondary languages:
- Go to WPML → String Translation.
- Expand the Not seeing strings you are looking for? container, and click the Admin Texts Translation link.
Clicking Admin Texts Translation
- On the Admin Texts Translation page, select date_format and time_format and click Add to String Translation.
Adding date_format in Admin Texts Translation
- Next, return to String Translation. The admin_texts_date_format and admin_texts_time_format strings should appear in the table.
- Translate the strings by entering a new date and time format. For example, we’ll set the date format in French to d/m/Y.
Translating date_format in String Translation
Why Are Formats Not Changing?
Some themes have their own options for date and time formats, so you may not see any change on your site when following the steps above. In these cases, you need to find your theme’s date and time format strings.
To find your theme’s date and time format strings, open the All domains dropdown in String Translation and select your theme. Then, search for strings related to date and time formats. Once you find the right strings, translate them as explained above.