Localistion support (foreign languages)

VK3KYY
Posts: 3491
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Localistion support (foreign languages)

Post by VK3KYY » Sat Jan 02, 2021 9:39 am

DG3GSP wrote:
Sat Jan 02, 2021 9:33 am
Roger,

this file should be complete - sorry for your effort
Peter

No worries.

It looks OK now.

I will update the CPS.

VK3KYY
Posts: 3491
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Localistion support (foreign languages)

Post by VK3KYY » Sat Jan 02, 2021 8:50 pm

DG3GSP wrote:
Sat Jan 02, 2021 9:33 am
Roger,

this file should be complete - sorry for your effort
Peter

I forgot to copy 1 section to the other (Non-English) xml files


<FirmwareLoaderReleasesList Text="Select release version">
<Controls>
<Control Id="btnDetectModel" Text="Detect Radio Type" />
<Control Id="releasesGridView" Text="Date &amp; Time,Version,Type,Release Name,Downloads"/>
<Control Id="btnDown" Text=" Select &amp;&amp; continue"/>
<Control Id="btnCancel" Text=" Cancel"/>
</Controls>
</FirmwareLoaderReleasesList>


Can you translate this for me.

Its for the screen which displays the list of available firmware

Thanks

Roger


PS.

Add the feature to translate these screens was much more complicated than I had initially estimated. I think in total there are probably approximately 200 texts which I had to update in the programming of the CPS, which took me many hours.
Hence why there are a few mistakes

VK3KYY
Posts: 3491
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Localistion support (foreign languages)

Post by VK3KYY » Sat Jan 02, 2021 10:34 pm

BTW.

If anyone wants to translate the help texts.

This is possible, but would be a lot of work.

I have now zipped all the help files to make them easier to download.

https://github.com/rogerclarkmelbourne/ ... _files.zip

Note. Only the HTML files, in the sub-folders would need to be edited, Not any of the other data files.

There is no way to directly test these files in the CPS, but they can be viewed in any web browser.

The help files need to be compiled to a .CHM file using the Microsoft Help compiler , which can be downloaded from here

https://www.microsoft.com/en-au/downloa ... x?id=21138

VK3KYY
Posts: 3491
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Localistion support (foreign languages)

Post by VK3KYY » Sat Jan 02, 2021 11:31 pm

BTW.

I see we have translations into German and Ukranian already !

Edit.

And Chinese

DG3GSP
Posts: 107
Joined: Sun Nov 17, 2019 9:30 am
Location: Southern Germany

Re: Localistion support (foreign languages)

Post by DG3GSP » Sun Jan 03, 2021 12:44 am

Roger

I replenish the xml file with the missing strings and translated the section:
<FirmwareLoaderReleasesList Text="Select release version">
<Controls>
<Control Id="btnDetectModel" Text="Detect Radio Type" />
<Control Id="releasesGridView" Text="Date &amp; Time,Version,Type,Release Name,Downloads"/>
<Control Id="btnDown" Text=" Select &amp;&amp; continue"/>
<Control Id="btnCancel" Text=" Cancel"/>
</Controls>
</FirmwareLoaderReleasesList>
But i had to shorten the translations for " Select &amp;&amp; continue" and " Cancel" because the buttons are at a fixed width and hence too narrow.
If it´s possible to extend the button width, I can revise the translation again.

P.S: the german translations in the .chm file are mostly outdated..
Attachments
German.zip
translated german.xml for CPS
(10.9 KiB) Downloaded 15 times
73, Peter DG3GSP

VK3KYY
Posts: 3491
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Localistion support (foreign languages)

Post by VK3KYY » Sun Jan 03, 2021 12:49 am

Hi Peter

OK.

I'll make the buttons wider.

Please make the changes to the translation and I will test with that translation to ensure the buttons are wide enough

DG3GSP
Posts: 107
Joined: Sun Nov 17, 2019 9:30 am
Location: Southern Germany

Re: Localistion support (foreign languages)

Post by DG3GSP » Sun Jan 03, 2021 12:53 am

Ok thanks, here ist the final file
Attachments
German.zip
(10.91 KiB) Downloaded 15 times
73, Peter DG3GSP

VK3KYY
Posts: 3491
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Localistion support (foreign languages)

Post by VK3KYY » Sun Jan 03, 2021 1:55 am

Peter

Thanks

VK3KYY
Posts: 3491
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Localistion support (foreign languages)

Post by VK3KYY » Sun Jan 03, 2021 2:04 am

BTW.

For buttons, there needs to be 2 &amp; to make one & on the button.

This is because, on buttons the & sign before a letter indicates a shortcut key sequence e.g. &Open to use Control O to open.

So to display an & sign that is not a Control shortcut, requires && hence in XML this is &amp;&amp; (as &amp is the XML for Ampersand )

VK3KYY
Posts: 3491
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Localistion support (foreign languages)

Post by VK3KYY » Sun Jan 03, 2021 4:07 am

DG3GSP wrote:
Sun Jan 03, 2021 12:53 am
Ok thanks, here ist the final file
Thanks


See

https://github.com/rogerclarkmelbourne/ ... 0.01.03.02

Post Reply