Error: Unable to find a UTF-8 locale on this system; UI translations may not work.
Any idea how to fix it?
I debugged util.php (~line 179), it worked and returns the language I'd like to have, but what I see in my browser is different from my settings. (I'm getting the default language of my machine and browser, but not English for example.)
Comments
(I'm getting the default language of my machine and browser, but not English for example.)
Status net should automatically change to whatever language the browser asks for, if available.
I think you change the language of your machine in xp in the control panel or some such thing.
Which version of php?
http://bugs.php.net/bug.php?id=49349
--- language change on profile to German (Timezone Europe) --------
2010-06-15 09:20:32 LOG_INFO: [localhost:5752.8fcbed6a POST /dsi_istream/settings/profile] profilesettings.php - Updating user nickname from test to test
2010-06-15 09:20:32 LOG_INFO: [localhost:5752.8fcbed6a POST /dsi_istream/settings/profile] profilesettings.php - Updating user language from en to de
2010-06-15 09:20:32 LOG_INFO: [localhost:5752.8fcbed6a POST /dsi_istream/settings/profile] profilesettings.php - Updating user timezone from Europe/Berlin to Europe/Berlin
2010-06-15 09:20:32 LOG_WARNING: [localhost:5752.8fcbed6a POST /dsi_istream/settings/profile] Unable to find a UTF-8 locale on this system; UI translations may not work.
--- language change on profile and admin page to English (US) (Timezone Pacific Honolulu) --------
2010-06-15 09:23:06 LOG_WARNING: [localhost:5752.eef3d0ad POST /dsi_istream/settings/profile] Unable to find a UTF-8 locale on this system; UI translations may not work.
2010-06-15 09:23:08 LOG_INFO: [localhost:5752.eef3d0ad POST /dsi_istream/settings/profile] profilesettings.php - Updating user nickname from test to test
2010-06-15 09:23:08 LOG_INFO: [localhost:5752.eef3d0ad POST /dsi_istream/settings/profile] profilesettings.php - Updating user language from de to en
2010-06-15 09:23:08 LOG_INFO: [localhost:5752.eef3d0ad POST /dsi_istream/settings/profile] profilesettings.php - Updating user timezone from Europe/Berlin to Pacific/Honolulu
2010-06-15 09:23:08 LOG_INFO: [localhost:5752.eef3d0ad POST /dsi_istream/settings/profile] profilesettings.php - Old profile: profile[id='9',nickname='test',fullname='test person',profileurl='http://localhost/status_net/test',homepage='',bio='',location='',lat='',lon='',location_id='',location_ns='',created='2010-06-14 14:01:19',modified='2010-06-15 11:17:34']
2010-06-15 09:23:08 LOG_INFO: [localhost:5752.eef3d0ad POST /dsi_istream/settings/profile] profilesettings.php - New profile: profile[id='9',nickname='test',fullname='test person',profileurl='http://localhost/status_net/test',homepage='',bio='',location='',lat='',lon='',location_id='',location_ns='',created='2010-06-14 14:01:19',modified='2010-06-15 11:17:34']
BUT I still see German language translation on the page.
and then
php /scripts/setconfig.php site language 'en'
php /scripts/setconfig.php site langdetect 0
site language 'en'
but still German ;-) - very weird
http://bit.ly/bed71E
also, you might just have changed it, but this [ site name 'test' ]
needs to be the true url of the site for things to function correctly (like setconifg for example)
php /scripts/setconfig.php site langdetect 0 <-this did not work we see in your setconfig<br />site langdetect true
System-Answer: "DONE."
output of php /scripts/setconfig.php -a as follows:
[...]
site language 'en'
site langdetect '0'
[...]
But still language detection seems to be on.
Logfile says i.e.:
"[...] POST /test/settings/profile] Unable to find a UTF-8 locale on this system; UI translations may not work. [...]"