italian translation

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Alessandro
Posts: 39
Joined: 20.09.2004
With us: 20 years 2 months
Location: Luxembourg

italian translation

Post #1by Alessandro » 23.02.2006, 23:32

Hi,

once the file .po is translated, and all what is needed to compile Celestia in Windows XP installed as indicated in the two sticks of this forum, where or how have to put the file .po translated to have Celestia in this new language? , seems to remain always in english !

Thanks

Ciao

Alessandro
Windows XP-SP2
Intel Pentium D CPU 3.00GHz 1Go RAM
Nvidia GeForce 6700XL 128Mo
Drivers 81.82
OpenGL Version:
Celestia 1.5.0 Pre

symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 6 months
Location: france, divion

Post #2by symaski62 » 24.02.2006, 00:50

windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Topic author
Alessandro
Posts: 39
Joined: 20.09.2004
With us: 20 years 2 months
Location: Luxembourg

Post #3by Alessandro » 24.02.2006, 07:24

Hi symaski62,

thank you for your answer.

You mean I have to upload and some one make for me ?

or you mean I have to put to the same named directory on my computer and then compile ?

The second is what I have done. But I think I have to rename the file as the one that Celestia use during compilation, or I am wrong?

Ciao

Alessandro
Windows XP-SP2

Intel Pentium D CPU 3.00GHz 1Go RAM

Nvidia GeForce 6700XL 128Mo

Drivers 81.82

OpenGL Version:

Celestia 1.5.0 Pre

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #4by Christophe » 24.02.2006, 08:09

Hi Alessandro,

Just follow the instructions under "Installing a new catalog file".

The patch has been commited, so if you are building from CVS you don't need to apply it.
Christophe

Topic author
Alessandro
Posts: 39
Joined: 20.09.2004
With us: 20 years 2 months
Location: Luxembourg

Post #5by Alessandro » 24.02.2006, 16:57

Hi Christophe,

i got now a problem executing msgfmt on my it.po

it.po:1:2: parse error

and if i execute msgfmt with fr.po no problem, but if i open fr.po in notepad and save it i got the same error (parse error)

is notepad the wrong editor ?

Alessandro
Windows XP-SP2

Intel Pentium D CPU 3.00GHz 1Go RAM

Nvidia GeForce 6700XL 128Mo

Drivers 81.82

OpenGL Version:

Celestia 1.5.0 Pre

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #6by Christophe » 24.02.2006, 17:12

Yes, notepad can't deal with UTF-8 files.

You need a unicode capable text editor. You can also use a PO file editor like poEdit.
Christophe

Topic author
Alessandro
Posts: 39
Joined: 20.09.2004
With us: 20 years 2 months
Location: Luxembourg

Post #7by Alessandro » 24.02.2006, 18:12

THANKS A LOT CHRISTOPHE

CIAO

ALESSANDRO
Windows XP-SP2

Intel Pentium D CPU 3.00GHz 1Go RAM

Nvidia GeForce 6700XL 128Mo

Drivers 81.82

OpenGL Version:

Celestia 1.5.0 Pre

Topic author
Alessandro
Posts: 39
Joined: 20.09.2004
With us: 20 years 2 months
Location: Luxembourg

Post #8by Alessandro » 06.03.2006, 22:02

Hi,

after I have translated the .po file in italian with poEdit then compiled with gettext in it.gmo I have to put it in a directory ..\locale\it\LC_MESSAGES\ by renaming in celestia.mo, right ?

but where is this directory ..\locale\it... ?
to run celestia in an other language, have to run celestia-i18n.exe ?
if I send the file to http://celestia.teyssier.org/i18n is some better ?
is really possible for anyone to compile Celestia in an other language ?

sorry for these many question, and thank you for your help.

ciao
Alessandro
Windows XP-SP2

Intel Pentium D CPU 3.00GHz 1Go RAM

Nvidia GeForce 6700XL 128Mo

Drivers 81.82

OpenGL Version:

Celestia 1.5.0 Pre

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #9by Christophe » 06.03.2006, 23:02

Alessandro wrote:after I have translated the .po file in italian with poEdit then compiled with gettext in it.gmo I have to put it in a directory ..\locale\it\LC_MESSAGES\ by renaming in celestia.mo, right ?

but where is this directory ..\locale\it... ?

locale is in your celestia installation directory (the one were data\, fonts\, shaders\ etc are).

Alessandro wrote:to run celestia in an other language, have to run celestia-i18n.exe ?

Yes

Alessandro wrote:if I send the file to http://celestia.teyssier.org/i18n is some better ?

If you send your po file it will be commited to CVS and become part of the next release of Celestia.

Alessandro wrote:is really possible for anyone to compile Celestia in an other language ?


Yes, with the limitation that menus and dialogs are not translated yet. This should be taken care of soon.
Christophe

Topic author
Alessandro
Posts: 39
Joined: 20.09.2004
With us: 20 years 2 months
Location: Luxembourg

Post #10by Alessandro » 07.03.2006, 18:24

Hi Christophe,

sorry but I cannot find celestia-i18n.exe
I founded celestia-1.4.1-i18n.tar.tar on your http://celestia.teyssier.org/i18n but the command tar xvjf celestia-1.4.1-i18n.tar.bz2 do not work on my PC and the file extension is .tar not .bz2
I've downloaded bzip2 but do not work with this file.

what I am doing wrong please ?

thank you for your help.
Windows XP-SP2

Intel Pentium D CPU 3.00GHz 1Go RAM

Nvidia GeForce 6700XL 128Mo

Drivers 81.82

OpenGL Version:

Celestia 1.5.0 Pre

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #11by Christophe » 07.03.2006, 21:42

If you don't have the .bz2 extension it's probably that your browser has silently uncompressed the file.

Winzip and other similar utilities are able to work with tar and tar.bz2 files, you can use one of these if you don't have tar.
Christophe

Topic author
Alessandro
Posts: 39
Joined: 20.09.2004
With us: 20 years 2 months
Location: Luxembourg

Post #12by Alessandro » 07.03.2006, 22:14

I download winzip 9.0, now the file is reconized as a zipped file, but when I double click on it an error appear :

Error reading header after processing 0 entries.

:cry: :?: :(
Windows XP-SP2

Intel Pentium D CPU 3.00GHz 1Go RAM

Nvidia GeForce 6700XL 128Mo

Drivers 81.82

OpenGL Version:

Celestia 1.5.0 Pre

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #13by Christophe » 07.03.2006, 22:34

I made the same archive using zip: http://celestia.teyssier.org/download/win32/celestia-1.4.1-i18n.zip, it should make it easier for you.
Christophe

Topic author
Alessandro
Posts: 39
Joined: 20.09.2004
With us: 20 years 2 months
Location: Luxembourg

Post #14by Alessandro » 08.03.2006, 10:56

:D :D :D :D :D

Enfin !!

Thank you very much Christophe (for your patience overall)

I'll test with my it.po this evening at home.

Un Grand Merci

Ciao
Alessandro
Windows XP-SP2

Intel Pentium D CPU 3.00GHz 1Go RAM

Nvidia GeForce 6700XL 128Mo

Drivers 81.82

OpenGL Version:

Celestia 1.5.0 Pre


Return to “Development”