[Gambas-user] importing a translation

Epíleg epileg at ...626...
Mon Nov 12 15:27:14 CET 2007


En/na Benoit Minisini ha escrit:
> On samedi 10 novembre 2007, Epíleg wrote:
>> En/na Benoit Minisini ha escrit:
>>> On samedi 10 novembre 2007, Epíleg wrote:
>>>> Hello,
>>>>
>>>> In my Gambas 2 IDE (svn 811), when I import a translation from a .po
>>>> file into a program, the .mo file is not automatically generated or
>>>> upgraded so the application is not shown with the last translation.
>>>>
>>>> Regards,
>>>> Epíleg.
>>> Can you detail exactly what are you doing, and which file you want to
>>> import?
>> Ok
>>
>> I do the following steps:
>>
>> -create a graphic application whit just a form with a button
>>
>> -select the application as translatable, translate and export it into a .po
>> file
>>
>> (the application is shown translated)
>>
>> -delete the actual translation
>>
>> -import the .po file
> 
> You must create the translation again before importing something into it. Did 
> you do that?
> 

Yes, I did that with same result.

If I import a *.po file into an empty translation and check the 'show statistics', in the top-right corner of the window is shown '100%', but in the language is shown '0%' as you can see in the attachment. This change when some string is edited in gambas2 ide translation tool.

I don't know why but when a translation is imported whit a *.po file, the *.mo file is not automatically updated.

regards,
Epíleg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 36318 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20071112/b5e532dc/attachment.png>


More information about the User mailing list