Reputation: 11
When you use MessageBox you have a selection of MessageBoxButtons to choose from. The buttons available are an enum, and give you options like "Yes No", "OK Cancel", etc.
When I am using, for instance, Hungarian message text the user still gets the English "Yes No".
Is there a way to change the text of the buttons (in Powerbuilder) so that the language is correct? Can I override the text, or set the current locale in some way so that I can have "Igen Nem" instead of "Yes No"?
It is ok on my local machine, but in the RDS enviroment the options are "Yes/No" again. What should I do on the RDS machine?
Thanks
Upvotes: 1
Views: 136
Reputation: 4174
PowerBuilder provides resources for international developers that include localized runtime files and the Translation Toolkit. The localized files become available after the general release of a new version of PowerBuilder.
Localized runtime files
Localized runtime files are provided for French, German, Italian, Spanish, Dutch, Danish, Norwegian, and Swedish. You can install localized runtime files in the development environment or on the user's machine. If you install them on the development machine, you can use them for testing purposes.
The localized PowerBuilder runtime files handle language-specific data at runtime. They are required to display standard dialog boxes and user interface elements, such as day and month names in spin controls, in the local language. They also provide the following features:
DayName function manipulation
The DayName function returns a name in the language of the runtime files available on the machine where the application is run.
DateTime manipulation
When you use the String function to format a date and the month is displayed as text (for example, the display format includes "mmm"), the month is in the language of the runtime files available when the application is run.
Error messages
PowerBuilder error messages are translated into the language of the runtime files.
Upvotes: 0