MicroStrategy Translation - PDF Export
08 May 2021
Dificulty ★★★★☆
Microstrategy transactions are separated in multiple categories
- Interface for WEB
- Interface for Library
- Help links
- Names of Metadata objects
- Report data language
- PDF Export
INTRO
If you use added transactions you may come across an error where transactions on PDF export are not working correctly. Here is a quide what to do in this situation.
ERROR
-
Set new language in WEB
-
Set the ‘Number and Date Format’ to ‘Germany’
-
Create dossier and use automatic lines like ‘Average’ or ‘Max’.
-
Export to PDF
-
PDF will export Average as ‘Durchschnitt’
SOLUTION
-
Stop PDF Exporter in MicroStrategy Service Manager.
-
Open location “C:\Program Files (x86)\MicroStrategy\Export”
-
Copy PDFExporterService.jar file to another location (e.g. folder Document in demo) so that it can be open directly.
-
Create backup to another location.
-
Open previusly created copy of PDFExporterService.jar with 7-Zip(right click -> 7-Zip -> Open archive)
-
Navigate to target folder in 7-Zip: \PDFExporterService.jar\BOOT-INF\classes\descriptors\
-
Add customer’s MessageBundle file (in this case MessagesBundle_sl)
-
Add line to locales.xml
Change the values as peer your locale settings.
<locale locale-id="1060" language="sl" country="SL" desc="Slovenscina" desc-id="" char-set="UTF-8" char-set-excel="UnicodeLittle"/>
-
Replace the PDFExporterService.jar file in installation folder by the updated one.
-
Start PDF Exporter in MicroStrategy Service Manager.
SOLUTION 2021.12 UPDATE
Files were moved locales.xml is now in \PDFExporterService.jar\BOOT-INF\classes