Menu

#277 Failure to set locale et_EE.UTF-8

Future_Requests
open
nobody
locale (2)
3
2013-08-06
2013-07-28
Anonymous
No

When browser sends language preference as 'et' following error message is generated: [Warning: Server failed to set locale to 'et_ET.UTF-8'].

Correct locale should be et_EE.UTF-8.

Solution: add 'et' => 'et_EE' to the $lang_map_unix = array variable in language.inc

Discussion

  • Campbell Morrison

    This works OK on my system. I set the language to 'et' and got an Estonian language locale. It sounds to me that you haven't got et_ET.UTF-8 installed on your system. I think the solution in your case is to install the locale or else to use $override_locale = "et_EE.UTF-8".

    That said, I freely admit that I'm not an expert on Estonian locales.

    Campbell

     
  • John Beranek

    John Beranek - 2013-08-05

    I'd say et_EE looks right for Linux servers at least:

    $ LANG=et_ET.utf-8 date "+%A"
    Tuesday
    
    $ LANG=et_EE.utf-8 date "+%A"
    teisipäev
    
     
  • Anonymous

    Anonymous - 2013-08-06

    You're right! I was testing something else.

    Fix added in Rev 2749

    Campbell

     
MongoDB Logo MongoDB