General TC > Remasters / Remixes - Unofficial
[Solved] How 2 remaster with german locale and programs into my native language?
Smarty99:
Hello,
I'm new here and I try to remaster a simple tinycore CD with german locale since two days.
But all i tried does not work.
I installed (download and load) kmaps, getlocale and base-locale
First i set locale without X
sudo loadkmap < /usr/share/kmap/qwertz/de-latin1-nodeadkeys
then i started
sudo getlocale.sh
and choosed ISO-8859-15 de_DE@euro, ISO-8859-1 de_DE, UTF-8 de_DE.
After that I started ezremaster and choosed tinycore-current.iso and this boot codes:
lang=de kmap=de-latin1-nodeadkeys
Then I added (Add App Extract TCZ to initrd) mylocale.tcz kmaps.tcz getlocale.tcz and base-locale.tcz ("Run TCZ startup scripts in chroot now" was marked) and built the iso.
But it does not work.
I also tried to edit the onboot.lst in core.gz and added mylocale.tcz.
I edited /opt/bootlocal.sh and added:
mkdir -p /usr/lib/locale
localedef -i de_DE -f ISO-8859-15 de_DE@euro
localedef -i de_DE -f ISO-8859-1 de_DE
localedef -i de_DE -f UTF-8 de_DE
But this has also failed.
Does anyone know how to do?
Thanks Smarty
Smarty99:
Okay,
kmaps works. I have choosen the wrong boot options. These are working:
lang=de_DE.UTF-8/UTF-8 kmap=/qwertz/de-latin1-nodeadkeys
Is it possible to add multiple lang?
e.g: lang=de_DE/ISO-8859-1,de_DE@euro/ISO-8859-15,de_DE.UTF-8/UTF-8
But the localization of the programs is still not working.
For example: If I install (download+load) leafpad.tcz and leafpad-locale.tcz the program is still in english.
How to use base-locale to get the programs in my native language?
Thanks Smarty
curaga:
No need to include getlocale on the CD, as you already have the generated file (mylocale.tcz)
What's the output of "locale" after booting your cd?
Smarty99:
This is the output of locale:
--- Code: ---tc@box: 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=de_DE.UTF-8/UTF-8
LC_CTYPE="de_DE.UTF-8/UTF-8"
LC_NUMERIC="de_DE.UTF-8/UTF-8"
LC_TIME="de_DE.UTF-8/UTF-8"
LC_COLLATE="de_DE.UTF-8/UTF-8"
LC_MONETARY="de_DE.UTF-8/UTF-8"
LC_MESSAGES="de_DE.UTF-8/UTF-8"
LC_PAPER="de_DE.UTF-8/UTF-8"
LC_NAME="de_DE.UTF-8/UTF-8"
LC_ADDRESS="de_DE.UTF-8/UTF-8"
LC_TELEPHONE="de_DE.UTF-8/UTF-8"
LC_MEASUREMENT="de_DE.UTF-8/UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8/UTF-8"
LC_ALL=
tc@box: locale -a
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
C
POSIX
de_DE
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
de_DE@euro
--- End code ---
curaga:
OK, so everything is loaded fine, just your syntax is wrong (in your bootcode).
Try lang=de_DE.UTF-8 (ie without the slash).
Navigation
[0] Message Index
[#] Next page
Go to full version