Page 1 of 1

Can I localize the report (gb.report2)?

Posted: Friday 22nd July 2022 1:37pm
by William33
Hi all,

I am wondering if it ist possible to localize the report into another language? I don't mean the creation but the preview window for the user.
At the moment the complete right handed side is in English - my language in Linux is set to German.
2022-07-22 15_24_30-Clipboard.png
2022-07-22 15_24_30-Clipboard.png (75.58 KiB) Viewed 5036 times

Re: Can I localize the report (gb.report2)?

Posted: Friday 22nd July 2022 2:36pm
by BruceSteers
The Date command uses localization. can you use that to convert it?
http://gambaswiki.org/wiki/lang/date

Re: Can I localize the report (gb.report2)?

Posted: Friday 22nd July 2022 3:40pm
by William33
Sorry, it seems I wasn't that clear. The question is rather, if the report is already available in another language.
If so, I don't know how to enable this. I am also using Lazarus and there it is possible to do something like:
TranslateUnitResourceStrings ('lclstrconsts','lclstrconsts.de.po');
I hoped something similar is possible with Gambas. If not, I have to actually implement my project in FreePascal/Lazarus.

Re: Can I localize the report (gb.report2)?

Posted: Tuesday 26th July 2022 8:08pm
by William33
Ok, I learned from the German forum that actually the translation was uploaded into the master branch. Needs a bit of time for the stable but then it's possible to use it.
Well, actually it will automatically show the language dependent on the system language.