Closed jberanek closed 7 months ago
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
Original comment by: campbell-m
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
Original comment by: jberanek
You're right! I was testing something else.
Fix added in Rev 2749
Campbell
Original comment by: *anonymous
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
Reported by: *anonymous
Original Ticket: mrbs/bugs/277