Skip Navigation
Updated
February 12, 2025

Learn how to set different date and time formats for each language on your website with WPML.

English version of the post
English version of the post
French version of the post
French version of the post

Set Date and Time Formats for Secondary Languages

To set different date and time formats for secondary languages:

  1. Go to WPMLString Translation.
  2. Expand the Not seeing strings you are looking for? container, and click the Admin Texts Translation link.
Clicking Admin Texts Translation
Clicking Admin Texts Translation
  1. 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
Adding date_format in Admin Texts Translation
  1. Next, return to String Translation. The admin_texts_date_format and admin_texts_time_format strings should appear in the table.
  2. 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
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.