Page 1 of 1

Java Virtual Machine - no

Posted: Mon 15 Aug 2005, 22:28
by Kark
The programs relying on jre seem to be using a different keymap from the one I
have set as default. I can not use Norwegian characters.

I don't have this problem on other distros. Could it be related to locale setting?

I use Puppy 1.0.3 and jre1.5.0_02

Does anyone know what to do?

Help would be very welcome :D

Kark

Posted: Tue 16 Aug 2005, 07:04
by Lobster
The language support has only just started

http://www.goosee.com/puppy/wikka/LanguageSupport

- Puppy was designed for the English language
so other language support is a question of using search (keyboards would be a key word) on this forum and then modifying the wiki if you find any answers

There are people using other languages but specifically for Java I do not know

Posted: Tue 16 Aug 2005, 07:51
by Kark
Thank you Lobster

I'll put something in the Wiki if I find a solution. :D

So far I've managed to get my programs appear in Norwegian by detours around that elusive locale support, but for this one I'm quite shure I need to set another locale to make things work.

The problem is, I am not yet experienced enough to figure out how to add support for new locales. I have tried the guided steps I could find, without success.

But I'm shure the solution will appear one day in this wonderful forum.

In the meantime I'll continue trying
:)

Kark

Posted: Tue 16 Aug 2005, 18:24
by Kark
Hacao had the solution!

I simply followed parts of his instruction and now it works!

I already had localedef (does it come with gcc?),so I did the following:

First I copied locale no_NO from a different distro
then I opened a teminal and did:

mkdir /usr/share/locale/no_NO.ISO-8859-1
localedef -v -c -i no_NO -f ISO-8859-1 /usr/share/locale/no_NO.ISO-8859-1
cd /usr/lib/locale
ln -s /usr/share/locale/no_NO.ISO-8859-1 no_NO.ISO-8859-1

Then I changed LANG=C to LANG=no_NO.ISO-8859-1 in /etc/profile

Now I don't get any error messages about locale not being supported anymore, and jvm works like it should.

If things stay troublefree I'll try to write a how-to for the wiki

:D Kark

Posted: Tue 16 Aug 2005, 19:50
by Lobster
kewl - Norwegian Puppy. Hopefully your efforts will encourage others to change to their languages and dialects. Today Norway - tommorrow the world

[maniacal laughter and the sound of restraints . . .]

congratulation !

Posted: Fri 19 Aug 2005, 06:25
by Hacao
Hi !

Puppy will more well know !

1. Norwegian Puppy
2. Vietnamese Puppy
...
...
......l. other country's Puppy :)

Are you thinks so ?

Thanks,


P/S: Puppy should set up UTF- 8 encoding for default. :), may be (en_US.UTF-8) !