Apache OpenOffice (AOO) Bugzilla – Issue 82278
Extensions use language specified into basic editor to display dialog boxes
Last modified: 2013-02-24 21:08:18 UTC
When displaying a localised dialog box using starbasic code, the dialog box is displayed using the language selected into the basic IDE, instead of the OOo interface language. To reproduce, use the sample extension I made. The dialog box is localised in French (fr-FR) and in English (en-US), with default language set to English. My OOo installation is localised in French (fr-FR). If I run the macro, the dialog is displayed in English. If I go to basic editor, change selected language to French, close basic editor, then run the macro again, the dialog box is displayed in French. So it seems that the language in wish the dialog box is displyed is taken from settings in basic IDE, instead of settings of the OOo application.
Created attachment 48706 [details] Sample extension
Oups! sorry, wrong component. I used the wrong link on the web page...
Assigning to me...
STARTED, OOo 2.4 I had a first look. The problem seems to appear only when the Basic IDE is used. So users only using a dialog won't be affected.
ab -> I can confirm that the issue is already present in the general UI (and not only Basic IDE).
The issue says that the language selected in the Basic IDE is used instead of the UI language. There can be only a language selected in the Basic IDE when the Basic IDE is used. So obviously something else is wrong if the problem already occurs without Basic IDE opened as the Basic IDE has no persistent settings that could influence the language selection.
ab -> To be more exact, the English version of the dialog is used by default in the localized version of OOo, and this happens without opening Basic IDE etc.
Ok, now I understand... :-) Added to cws ab42
FIXED
ab->jsk: Please verify I will attach a test extension soon
Created attachment 50845 [details] Test extension containing a en+de localized dialog
ab->jsk: If you install the extension in the de built and run Library2.Module1.Main via Extras/Makros/Makros Verwalten/ StarOffice Basic/Ausführen the Dialog should be displayed in German. The same for starting directly from the Basic IDE. In the en-US build the Dialog should be displayed in English of course.
Yupp. Looks good
Looks good in ooh680m10