Implementing l10n in an extension

Katarina Behrens Katarina.Behrens at
Thu Aug 18 12:30:23 UTC 2016

Hello world, 

I've implemented a Calc extension that includes some dialogs and I'd like to 
have those translated to multiple languages. The dialogs are implemented in 
this funny .xdl Basic format, the handlers in Java.

However, as you might've already expected ;) l10n didn't quite work out so 
far. No matter what I do, I can't get localized strings displayed. Instead of 
English or German strings, I see only the references e.g. 

It has certainly something to do with the fact that I've created l10n files 
manually, since GUI for that is currently completely defunct due to [1] so if 
anyone can spot an obvious mistake, something missing etc. in my data below 
and/or give me some useful advice, I'd be grateful

My folder structure:

  +- Dialog1.xdl  
  +- Dialog2.xdl
  +- DialogStrings_en_US.default  
  +- dialog.xlb


<dlg:button dlg:id="CommandButton1" dlg:tab-index="0" dlg:left="98" 
dlg:top="261" dlg:width="32" dlg:height="10" 


3. Dialog1.CommandButton1.Label=Schließen


<library:library xmlns:library="" 
library:name="dialogs" library:readonly="false" 
 <library:element library:name="Dialog1"/>
 <library:element library:name="Dialog2"/>


Katarina Behrens

Softwareentwicklerin LibreOffice
CIB software GmbH
Geschäftsstelle Hamburg
Flachsland 10
22083 Hamburg
T +49 (40) / 28 48 42 -235
F +49 (40) / 28 48 42 -100

Katarina.Behrens at
Sitz: München
Registergericht München, HRB 123286
Geschäftsführer: Dipl.-Ing. Ulrich Brandner

More information about the LibreOffice mailing list