Page 50 of 92

Re: Localistion support (foreign languages)

Posted: Sat Jan 02, 2021 8:50 pm
by VK3KYY
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

Re: Localistion support (foreign languages)

Posted: Sat Jan 02, 2021 10:34 pm
by VK3KYY
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

Re: Localistion support (foreign languages)

Posted: Sat Jan 02, 2021 11:31 pm
by VK3KYY
BTW.

I see we have translations into German and Ukranian already !

Edit.

And Chinese

Re: Localistion support (foreign languages)

Posted: Sun Jan 03, 2021 12:44 am
by DG3GSP
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..

Re: Localistion support (foreign languages)

Posted: Sun Jan 03, 2021 12:49 am
by VK3KYY
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

Re: Localistion support (foreign languages)

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

Re: Localistion support (foreign languages)

Posted: Sun Jan 03, 2021 1:55 am
by VK3KYY
Peter

Thanks

Re: Localistion support (foreign languages)

Posted: Sun Jan 03, 2021 2:04 am
by VK3KYY
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 )

Re: Localistion support (foreign languages)

Posted: Sun Jan 03, 2021 4:07 am
by VK3KYY
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

Re: Localistion support (foreign languages)

Posted: Wed Jan 13, 2021 4:41 am
by VK3KYY
Thanks

The revision number has been updated

https://github.com/rogerclarkmelbourne/ ... 1.01.03.02