by
KK » Thu May 10, 2012 9:54 pm
As stated in the documentation - this feature depends entirely on the indicated locale being available at your web server. If the locale is not available, the default 'english' locale is used.
Also, the string used to specify the locale is also very server dependent. Some servers may support a different string altogether for a particular locale.
Please try placing the following variations in any of your template and note the output.
If the 'dutch' locale is available, you should have an output stating 'vrijdag december 1978'.
- Code: Select all
<cms:date '1978-12-22' format='%A %e %B %Y' locale='dutch' />
<cms:date '1978-12-22' format='%A %e %B %Y' locale='nl_NL' />
<cms:date '1978-12-22' format='%A %e %B %Y' locale='nl_NL.ISO8859-1' />
Do let me know if this helps.
Thanks.