[Gambas-user] Dialog.Save asks in English

Benoît Minisini g4mba5 at gmail.com
Thu May 20 15:10:14 CEST 2021

Le 20/05/2021 à 09:54, Rolf-Werner Eilert a écrit :
> For a long time, I had Dialog.Save included in one of my programs, but 
> never had an existing file overwritten. However, when I programmed it, I 
> took care of this case. Yesterday much to my surprise I saw that this 
> dialog already covers the case of an existing file, asking whether the 
> file should be overwritten.
> But it asks in English, and I do not see a chance to change the language 
> or simply switch this behaviour off (as I have a request programmed 
> anyway).
> So now it is that you are asked twice, first by the dialog (in English) 
> and then by my program (in German).
> Any idea how to localize or get rid of it?
> Regards
> Rolf
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

If you are using native toolkit dialogs, they may or may not be 
translated, depending on which GUI toolkit you use, and what is 
installed on your system.

Otherwise, you can check the 'gb.form.dialog' component, and these 
dialogs will be replaced by Gambas dialogs that are translated.


Benoît Minisini

More information about the User mailing list