Local "All" ???

Please post answers on the most frequently asked questions about CMSimple
Post Reply
Posts: 525
Joined: Fri Feb 20, 2009 2:27 pm
Location: Agerbæk, Denmark

Local "All" ???

Post by maeg » Sun Jan 26, 2014 7:39 am


I wonder what is the feild in languages settings "Local All" is??

And what is it used for??

Posts: 13760
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE

Re: Local "All" ???

Post by cmb » Sun Jan 26, 2014 11:02 am

That is shortly explained in the release announcement:
to unify the handling of locales, the language setting Locale->All has been introduced; this is not used by the core, but rather offers an opportunity for plugins to avoid individual setting of locales; unfortunately, it is not possible to preset this setting, as it differs for various operating systems (and usually not all locales are available on a particular server); consult the system check, if the configured locale is working
So it is meant to set the desired locale, but is not used (yet) by CMSimple_XH's core (and I'm not aware of any plugin using it yet). It might be used in the future, though, for example to set the number format (1.000,00 vs 1,000.00). The values it accepts are depending on the server; see the linked Wikipedia article, and consult the system check, if the one you've chosen, works on the server. See also the original discussion about introducing this variable.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply