Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Locale: C in diagnostics what does this mean?
Does a Locale: C mentioned in diagnostics mean that the proper UTF-8 locale is not installed? This happens on a new server at my nl host. On another server at the same host diagnostics show nl_NL.UTF-8 as locale file for my txp installs.
-kees
Offline
Re: Locale: C in diagnostics what does this mean?
Yes, no specific locale was installed on the server… but you can still use UTF-8 in Textpattern.
As far as I know it only means that the programs installed on the server will only not use translations for the error messages and other output they produce while running.
Offline
#3 2007-01-23 20:33:59
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Locale: C in diagnostics what does this mean?
It also means dates won’t be translated correctly.
Alex
Offline
Re: Locale: C in diagnostics what does this mean?
zem wrote:
It also means dates won’t be translated correctly.
Exactly that is what I noticed and made me check the locale in diagnostics
I asked my hosting provider to install the missing locale(s) and he just answered he will.
Offline
Re: Locale: C in diagnostics what does this mean?
Is there an easy test to see what locale files are installed on a server, and a test if a specific locale (nl_NL.UTF-8 in my case) is working?
-kees
Last edited by kees-b (2007-01-24 14:18:27)
Offline
Re: Locale: C in diagnostics what does this mean?
Well, the easiest way is to switch to a different language (in txp-preferences), save, then switch back and save. THe locales are saved whenever you update your language settings.
Offline
Re: Locale: C in diagnostics what does this mean?
Sencer wrote:
Well, the easiest way is to switch to a different language (in txp-preferences), save, then switch back and save. The locales are saved whenever you update your language settings.
Hi sencer
So if I don’t switch I keep the locale C? Because my host has installed nl_NL.UTF-8 for me but I am still seeing locale: C in diagnostics.
Edit: yes it works!
Last edited by kees-b (2007-01-24 21:00:35)
Offline