Can I localize the report (gb.report2)?

Ask about the individual Gambas components here.
Post Reply
William33
Posts: 3
Joined: Thursday 21st July 2022 9:36am

Can I localize the report (gb.report2)?

Post 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 4629 times
User avatar
BruceSteers
Posts: 1521
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

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

Post by BruceSteers »

The Date command uses localization. can you use that to convert it?
http://gambaswiki.org/wiki/lang/date
If at first you don't succeed , try doing something differently.
BruceS
William33
Posts: 3
Joined: Thursday 21st July 2022 9:36am

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

Post 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.
William33
Posts: 3
Joined: Thursday 21st July 2022 9:36am

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

Post 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.
Post Reply