Locales with Lime/Debian

Started by freezed, January 23, 2014, 11:38:57 AM

Previous topic - Next topic

freezed

Hi people,

I'm a basic Debian user and I just get my first board after years of using i386/amd64 architectures, so be gentle :)

I have problems with dpkg-reconfigure locales it doesn't change the locales as usually, my keyboard's still english and it displays some errors about LC_ALL and others (I can post it this evening).
I install task-french, but question mark replace instead accent.

I assume Lime/Debian is a specially lighten image, so maybe you've chop some things?

Thanks

JohnS

Being Debian you will need to do whatever Debian needs, which is likely to be fetching from repos.  But remember this is ARM so you need the right ones of course (if they exist?).

You may be used to x86 being already done for you, well that was lucky :)

John

freezed

Ok, I ask a friend about my trouble. He tells me some things about the purpose of embedded hardware...
Ok, configuring locales & install useless-packages-fr is not really the point on this kind of hardware...

Now, for memory, the problem came from here, with a strange fr_FR locale:
`root@a10Lime:~# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR"
LC_NUMERIC="fr_FR"
LC_TIME="fr_FR"
LC_COLLATE="fr_FR"
LC_MONETARY="fr_FR"
LC_MESSAGES="fr_FR"
LC_PAPER="fr_FR"
LC_NAME="fr_FR"
LC_ADDRESS="fr_FR"
LC_TELEPHONE="fr_FR"
LC_MEASUREMENT="fr_FR"
LC_IDENTIFICATION="fr_FR"
LC_ALL=fr_FR`


And more it looks like that's not a place for LC_ALL:

`root@a10Lime:~# cat /etc/environment
VDPAU_DRIVER=sunxi
LC_ALL=fr_FR.UTF8
TSLIB_TSEVENTTYPE=raw
TSLIB_CONSOLEDEVICE=none
TSLIB_FBDEVICE=/dev/fb0
TSLIB_TSDEVICE=/dev/input/event0
TSLIB_CALIBFILE=/etc/pointercal
TSLIB_CONFFILE=/usr/etc/ts.conf
TSLIB_PLUGINDIR=/usr/lib/ts
VDPAU_DRIVER=sunxi`


I finally find the origin of my problem in:
root@a10Lime:/etc# cat profile
export LC_ALL="fr_FR"

(...)


Then I just remove the 2 suspects lines in /etc/profile & /etc/environement and runs dpkg-reconfigure locales, and everything came back to normal.

Sorry for disturbing ;)