Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: jgrulich on January 27, 2016, 12:06:53 PM

Title: How to change locale?
Post by: jgrulich on January 27, 2016, 12:06:53 PM
The default locale is C (US), but I need to change it to display different character set. I was looking for getlocale.tcz, but it's missing in the repo. Is there some other way how to do so?
Title: Re: How to change locale?
Post by: curaga on January 27, 2016, 03:00:22 PM
getlocale.tcz is just a script, so you might be able to use it on arm as-is. Do check the deps, etc.
Title: Re: How to change locale?
Post by: patrikg on January 27, 2016, 04:32:11 PM
Take a look at this thread..and see kmaps and tzdata

http://forum.tinycorelinux.net/index.php/topic,17891.msg107907.html

And for X... you may do it like this
http://forum.tinycorelinux.net/index.php/topic,17945.msg108551.html#msg108551
Title: Re: How to change locale?
Post by: jgrulich on January 28, 2016, 04:48:07 AM
Patrik,
well, but I don't need to change the keyboard layout, but locale.
Exactly I need to display Czech alphabet in the LMS server.
Title: Re: How to change locale?
Post by: jgrulich on January 29, 2016, 02:19:12 PM
OK, for those, who like to change locale at piCore, getlocale.tcz from main repo works fine.
It need the following extensions to be loaded manually before generation: dialog.tcz, glibc_apps.tcz, glibc_gconv.tcz, glibc_i18n_locale.tcz and for boot into the new locale it than need only glibc_gconv.tcz which the generated mylocale.tcz already has in dep.