https://bugs.documentfoundation.org/show_bug.cgi?id=100792

            Bug ID: 100792
           Summary: Language files are not transported in Library export
                    and import
           Product: LibreOffice
           Version: 5.3.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rb.hensc...@t-online.de

Created attachment 126094
  --> https://bugs.documentfoundation.org/attachment.cgi?id=126094&action=edit
Includes Basic library with Language files

Open attached file. It contains a macro library with macros to set the handles
of a 'block arc' shape or a 'circular arrow' shape numerically in a dialog.
This dialog has localized strings for English(USA) and German. If you call the
macros with LO in a German UI you get German strings in the dialog, if you call
the macros with LO in an English UI you get English strings in the dialog.

To test it, draw a block arc and while it is selected call the macro
"EditBlockArc" from module 'Arc' in the library 'BlockArrowEditor'.

Now export the library either as Basic or as extension. When you import this
exported library to some other file or in your 'My Macros' folder and then call
the macros again, you will notice, that the dialog has no strings, but the
references.

If you look into the exported library, you will notice, that the files
'DialogStrings_de_DE.properties' , 'DialogStrings_en_US.default' and
'DialogStrings_en_US.properties' are missing. If you extract these file from
the source document and copy them over to the target "BlockArrowEditor"-folder,
then the dialog will show localized strings as it should.

To test, that the import is broken too, copy the files manually into the
exported library and then import the library to your target.

Export and Import is done with the Macro Organizer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to