/share/locale/*.ini
Is there a way to override those /share/locale/*.ini files? There are many problems of traduction inside. For example, in french, we don't capitalize the first letter of a month nor a day (exept if it's the first word of the sentence). I don't see the interest of making a nice format that can't be used without |downcase()
Comments (3 historical)
Written by readers of the earlier documentation sites, kept as they were.
Re: /share/locale/*.ini
Svitlana Shatokhina ·
You cannot override locales, only edit existing and create new/custom ones, see
http://ez.no/doc/ez_publish/techn..._your_site_locale#add_missing_locale
See also http://issues.ez.no/13590
If you find a mistake in default locale, please report to http://issues.ez.no so that it gets fixed in next releases. Thank you!
Re: /share/locale/*.ini
Jérôme ·
A quick-and-dirty way :
- modify template.ini to add PHP functions ucfirst and strtolower (add theses functions in PHPOperatorList )
- in your template : {$node.object.published|datetime('standard')|strtolower()|ucfirst()}
Probably not efficient and CPU consumming.
Re: /share/locale/*.ini
Gaetano ·
another quick and dirty way: create a new french locale, fre-XX, and customize that one...