MACOSX: Language auto-detection does not work correctly
|Reported by:||CeRiAl||Owned by:||criezy|
|Priority:||high||Component:||Port: Mac OS X|
It seems that the auto-detection in Mac OS X is not working correctly. Tested on 10.5 (PPC) & 10.7 Intel. Mac OS X GUI is set to german, the environment variable LANG on the shell is set to de_DE.UTF-8
However, when running the scummvm executable direcly from the shell (without wrapping it into a .app) everything works correctly (as LANG is set in this environment). But when running from an .app package it seems that LANG and LC_* are both not set, and setlocate(LC_ALL, "") returns "C" (I have debugged this)
Ticket imported from: #3394080. Ticket imported from: bugs/5831.