Translations

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
GioMac
Posts: 9
Joined: 10.01.2006
With us: 18 years 10 months
Location: Tbilisi, Georgia
Contact:

Post #21by GioMac » 05.03.2006, 07:31

Did you translate your .po file properly with msgfmt into the corresponding .gmo file, followed by a proper installation of the resulting file?

sure, we have translated more than 100000 strings last months, we have such experience...
http://www.gia.ge/index.php?pid=44

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

Post #22by Christophe » 05.03.2006, 09:44

You can check which mo file it tries to open by running a system trace :

Code: Select all

$ strace -e open celestia 2>&1 | grep celestia.mo
open("/usr/local//share/locale/fr_FR@euro/LC_MESSAGES/celestia.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local//share/locale/fr@euro/LC_MESSAGES/celestia.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local//share/locale/fr_FR/LC_MESSAGES/celestia.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local//share/locale/fr/LC_MESSAGES/celestia.mo", O_RDONLY) = 17
Christophe

Topic author
GioMac
Posts: 9
Joined: 10.01.2006
With us: 18 years 10 months
Location: Tbilisi, Georgia
Contact:

Post #23by GioMac » 05.03.2006, 09:55

Code: Select all

[root@giomac /]#  strace -e open celestia 2>&1 | grep celestia.mo
open("/usr/share/locale/ka_GE.UTF-8/LC_MESSAGES/celestia.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/ka_GE.utf8/LC_MESSAGES/celestia.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/ka_GE/LC_MESSAGES/celestia.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/ka.UTF-8/LC_MESSAGES/celestia.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/ka.utf8/LC_MESSAGES/celestia.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/ka/LC_MESSAGES/celestia.mo", O_RDONLY) = 17

p.s. file exists


Return to “Development”