WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] How 2 remaster with german locale and programs into my native language?  (Read 6294 times)

Offline Smarty99

  • Newbie
  • *
  • Posts: 4
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
« Last Edit: January 30, 2013, 06:17:15 AM by Smarty99 »

Offline Smarty99

  • Newbie
  • *
  • Posts: 4
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
« Last Edit: January 29, 2013, 06:41:07 AM by Smarty99 »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: How 2 remaster with german locale and programs into my native language?
« Reply #2 on: January 29, 2013, 07:18:00 AM »
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?
The only barriers that can stop you are the ones you create yourself.

Offline Smarty99

  • Newbie
  • *
  • Posts: 4
Re: How 2 remaster with german locale and programs into my native language?
« Reply #3 on: January 29, 2013, 09:22:54 PM »
This is the output of locale:
Code: [Select]
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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: How 2 remaster with german locale and programs into my native language?
« Reply #4 on: January 30, 2013, 01:04:40 AM »
OK, so everything is loaded fine, just your syntax is wrong (in your bootcode).

Try lang=de_DE.UTF-8 (ie without the slash).
The only barriers that can stop you are the ones you create yourself.

Offline Smarty99

  • Newbie
  • *
  • Posts: 4
Re: How 2 remaster with german locale and programs into my native language?
« Reply #5 on: January 30, 2013, 06:16:39 AM »
Thank you very much! It works now!   :)

lang=de_DE kmap=/qwertz/de-latin1-nodeadkeys
« Last Edit: January 30, 2013, 06:18:45 AM by Smarty99 »