Skip to the content
Documentation

/share/locale/*.ini

No ratings yet

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.

  1. 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.

  2. Re: /share/locale/*.ini

    Gaetano ·

    another quick and dirty way: create a new french locale, fre-XX, and customize that one...