[Gambas-user] OT: Textadventure-Game
Benoit Minisini
gambas at ...1...
Wed Jul 7 23:38:31 CEST 2004
On Wednesday 07 July 2004 19:59, VBTricks.de.vu Webmaster wrote:
> Hello everybody,
>
> sorry I think I have to describe it more detailed:
>
> What I want to translate is the interpreter. The interpreter is
> completely apart from the textadventure. My program is not built just
> for one adventure. You are able to write the textadventure in a
> description-language similar to XML.
>
> ...
>
> @ Daniel
> It may sound curious, but what are po-files? Are they something like
> res-files under windows and where do I find additional information about
> that? And I guess even that po-files have to be translated?
>
> The translations of the GUI will be included into the download package.
>
Translation management is integrated in the Gambas interpreter.
Each string written in your source code that is enclosed between two
parenthesis is translatable.
For example:
PRINT "X = 3" ' This string won't be translated
PRINT ("Description of the Place:") ' This string will be translated
Of course, each Text property of any control in any forms, each tooltip, each
label, ... are translatable too.
Then you just have to click on the "Project->Translate" menu to get a dialog
that allows you to translate your strings in (almost) any language! Look at
"How to translate Gambas" in the wiki. It is exactly the same process, as the
Gambas IDE is a Gambas project.
The translation are automatically integrated in your project (in the .lang
subdirectory).
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list