XAMPP WinXP and getting this Log Message: "Unable to find a UTF-8 locale on this system; UI transla

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

  • @checkcheck. XAMPP on XP eh? cant way I've used that, but I'll try to help.

    (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
  • PHP Version 5.3.1


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

  • try this. /php/setconfig.php -a
    and then
    php /scripts/setconfig.php site language 'en'
    php /scripts/setconfig.php site langdetect 0

  • site langdetect 0
    site language 'en'


    but still German ;-) - very weird
  • @checkcheck can you pastie the output of setconfig -a for me? make certain to remove any passwords.
  • same here. you need to download the file, because I cant post it here.

    http://bit.ly/bed71E
  • @checkcheck pastie= a pastie service, like pastebin. my favorite is http://privatepaste.com/

  • okay, can you pastie the output of setconfig -av actually.

    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

  • I was able to set langdetect 0 with "php /scripts/setconfig.php site langdetect 0"
    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. [...]"
  • @checkcheck so the page is still displaying in German for you?
  • I debugged util.php (~line 179) --> you might want to roll back this change, it could be blocking site langdetect '0'
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID