Passer au contenu Passer à la barre latérale

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Fuseau horaire du support : Asia/Dhaka (GMT+06:00)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Prosenjit Barman Il y a 1 année et 9 mois.

Assisté par: Prosenjit Barman.

Auteur Messages
mai 17, 2024 à 8:51 am #15638197

ludovicA-2

J'essaie d'afficher les dates en français sur le blog suisse

Lien vers une page où le problème peut être vu: lien caché

Je m'attendais à voir: 5 décembre 2023

Au lieu de cela, j'ai obtenu: 5 december 2023

--

La langue suisse a été ajoutée via l'ajout de langues personnalisées de wpml
La date est appelée dans le theme avec la fonction php the_date()
La langue par defaut du site est en FR

mai 17, 2024 à 1:50 pm #15639941

Prosenjit Barman
Partisan de WPML depuis 03/2023

Les langues: Anglais (English )

Fuseau horaire: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

To reduce the waiting time, I took this ticket and responded in English. Please let me know if you're okay with it or want to continue the conversation in French language. I will check and forward this ticket to one of our French supporters to assist you in the French language.

I understand what you're looking for. Please try the following steps and see if they help resolve the issue:

- Please go to "WPML > Theme and Plugins localization"
- Select the active theme and click on "Scan" button.
- Once the Scan is completed, go to WPML > String Translation.
- Search for the Month that you want to translate.
- If that appears in the result, add the translation by clicking on the "+" icon below the Language flag.

I hope this helps. However, since you mentioned that the date is called using the "the_date()" function, please note that the date appears in a localized format when using "date_i18n()". If the above steps don't resolve the issue, please try calling the date using the "date_i18n()" function.

Let me know how it goes. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

Le sujet '[Fermé] Blog Suisse date en anglais' est fermé aux nouvelles réponses.