Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hi,

I have put the following tag into my News page : <cms:date k_page_date format='%B %d, %Y' locale='fr_FR' /> I tried it also with 'french' or 'fr'. Nothing seems to work, the date keeps being expressed in English.

I contacted the hosting service and they installed the 'intl' module (see attached image), but still the date refuses to change. Is there anything else that could be preventing it from working?

Thanks!

Attachments

try these: fr_utf8, French, fr_FR.UTF-8
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
Thanks Trendoman, the last one worked !
For those who might chance upon this thread - the syntax for locale as generally accepted by servers is as follows -
language[_country][.charset]
(where information under brackets is optional).

As an example, for Dutch, one of the following should work -
Code: Select all
<cms:date k_page_date format='j F Y' locale='nl' />

Code: Select all
<cms:date k_page_date format='j F Y' locale='nl_NL' />

Code: Select all
<cms:date k_page_date format='j F Y' locale='nl_NL.UTF-8' />
4 posts Page 1 of 1