![]() |
2013-10-30
, 03:22
|
Posts: 509 |
Thanked: 626 times |
Joined on Jul 2012
@ Mexico/Germany
|
#12
|
![]() |
2013-10-30
, 08:02
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#13
|
![]() |
2013-10-30
, 09:18
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#14
|
LC_ALL=$langind LANG=$langid LANGUAGE=$langid
![]() |
2013-10-30
, 10:26
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#15
|
i just edited language.sh:Code:LC_ALL=$langind LANG=$langid LANGUAGE=$langid
![]() |
2013-10-30
, 23:10
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#16
|
~ $ cat /etc/profile.d/language.sh
#!/bin/sh
langdata=$(gconftool -g /meegotouch/i18n/language)
# default
langid=en_US.UTF-8
if [ -n $langdata ]; then
# remove everything after a @ including the @ itself because
# the options after @ in libicu locale names like
# zh_CN@collation=stroke do not make sense for the POSIX locales:
langid=${langdata%%@*}
# some conversion needs from libicu ids to posix ids
if [ "$langid" == "en" ]; then
langid=en_GB
elif [ "$langid" == "zh" ]; then
langid=zh_CN
elif [ "$langid" == "es_419" ]; then
langid="es_MX"
fi
fi
unset LC_ALL
export LANG=$langid
~ $
![]() |
2013-10-31
, 04:27
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#17
|
The Following User Says Thank You to coderus For This Useful Post: | ||
![]() |
2013-10-31
, 08:38
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#18
|
AcceptEnv LANG LC_*
The Following 6 Users Say Thank You to reinob For This Useful Post: | ||
![]() |
2015-03-28
, 20:08
|
|
Posts: 67 |
Thanked: 64 times |
Joined on Feb 2015
@ Argentina
|
#19
|
![]() |
2015-03-28
, 20:17
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#20
|
unset LC_ALL
???