Problems with Dutch translation (nl_NL-gallery_core.po)

kaupanger
kaupanger's picture

Joined: 2005-04-20
Posts: 17
Posted: Wed, 2005-04-20 12:17

1.
After using 1.4.4 for a while I upgraded yesterday to Gallery 1.5. When I use the Dutch language pack I always get the sentence "This album contains x items". When I look in nl_NL-gallery_core.po there seems to be a translation present. However on the screen it isn't translated into Dutch. When I select another language, e.g. de_DE everything is OK.

Does anyone know a solution for this problem?

2.
When I change someting in nl_NL-gallery_core.po the changes cannot be seen in gallery. I understand that I have te create a binary mo-file first. Can this be done using windows? Which tool can I use to do this or how can I do this otherwise?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2005-04-27 10:14

Hello,

sorry for my late answer.

1.) this can be 2 reasons. Either the translation is outdated or your PHP / gettext combination is a little broken. But you say the german translation works fine then i think its the first thing.

2.) yes it can be. The Tool is called "poEdit" and is available on sourceforge.
Some more information is available in the dev documents on this site.

Regards,

Jens

 
kaupanger
kaupanger's picture

Joined: 2005-04-20
Posts: 17
Posted: Tue, 2005-05-03 12:34

I've used poEdit to generate a new mo-file from the nl_NL-gallery_core.po. This file contains a translation of the message "This album contains x items". However, this translation is NOT shown in gallery. When I make a copy of the german translation and make some changes, these changes ARE shown in Gallery. It seems to me that the dutch language translation file is "corrupt". Also, the linenumbers of the messages in the dutch translation do not correspond with the same messages in the german translation.

p.s. This problem also occurs in the 1.4.4. version of Gallery.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2005-05-03 14:16

hello,

its not THAAAT easy as you might think.

1.) using poEdit is a good idea. Because it also generates the .mo files.
Did you upload them both ?

2.) Can you tell me an example where the linenumber are differen ?

3.) Please dont mix up versions !

Jens

 
kaupanger
kaupanger's picture

Joined: 2005-04-20
Posts: 17
Posted: Tue, 2005-05-03 20:23

Hi Jens,

The problem is solved. I read somewhere on this forum that when you have a translation marked "fuzzy" the translation will not be visible in Gallery. After I unmarked this particular message the correct translation was shown in Gallery.

The linenumber for the message "This album contains x items" is in de german translation line 501, in the dutch one it's line 512. But as the problem is solved now, this didn't cause the problem.

Thanks for your help,
Léon

P.s. In the coming weeks (after my holidays) I will try to translate the remaining untranslated and fuzzy messages into Dutch.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2005-05-03 23:41

poEdit handles the fuzzy entries.
Makes me (a little) confused now.

anyway, glad you got it working (tm)

Updates are always welcome.

Thanks,

Jens