On mercredi 24 septembre 2008, M0E Lnx wrote:
> So, I'm trying to add support for translations in my application....
> the IDE offers the translate window that helps in the translation to
> generate the .po and .mo files
>
> But here is my problem. It seems to not be searching for strings in
> the classes or modules. It's only picking up the .text property of the
> objects drawn into forms.
>
> THis is a problem when you have objects that get created at runtime
> from conditional statements, and also for your error/warning/info
> messages to the user
>
> Is there a way to make the IDE pull every string in the project rather
> than just the .text property of each object?
>
Strings that must be translated must be put between braces:
PRINT "Do not translate me"
PRINT ("Translate me")
Regards,
--
Benoit Minisini
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user