Localisation support (foreign languages)

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

Re: Localistion support (foreign languages)

Post by DG3GSP » Sun Jun 12, 2022 8:00 am

Thanks Daniel & Roger

In this context it's slightly complicated for me to translate that 1:1 ;)
I would suggest to use:

Code: Select all

  <FirmwareLoaderUI_MD9600 Text="Firmware (MD9600,RT90) aufspielen">
    <Controls>
		<Control Id="btnProgram" Text="OpenMD9600 Datei wählen &amp; Update." />
		<Control Id="btnSelectDonorFW"	Text="Offizielle Firmware wählen" />
    </Controls>
    <Commons>
		<Item Id="FmOnly" Text="Nur FM" />
		<Item Id="Warning" Text="Warnung" />
		<Item Id="Success" Text="Erfolgreich" />
		<Item Id="Error" Text="Fehler" />
		<Item Id="OfficialFWNotSelected" Text="Keine offizielle Firmware. DMR wird nicht unterstützt" />
		<Item Id="SelectOfficialFirmware" Text="Offizielle Firmware auswählen" />
		<Item Id="FirmwareFiles" Text="Firmware Dateien" />
		<Item Id="OfficialFWVerified" Text="Offizielle Firmware wurde geprüft, Open Firmware wird DMR unterstützen" />
		<Item Id="OfficialFWNotCorrect" Text="Ausgewählte Datei ist keine offizielle Firmware Version" />
		<Item Id="ConnectingToRadio" Text="Verbinde Gerät" />
		<Item Id="ConnectedToRadio" Text="Gerät verbunden" />
		<Item Id="RadioNotConnected" Text="Gerät nicht verbunden, oder nicht im DFU Modus." />
		<Item Id="OnlyOpenMD9600FirmwareFilesSupported" Text="Nur OpenMD9600 Firmware Dateien werden unterstützt" />
		<Item Id="Writing" Text="Schreibe" />
		<Item Id="UploadComplete" Text="Upload komplett" />
		<Item Id="OperatingSystemNotSupported" Text="Betriebssystem nicht unterstützt" />
		<Item Id="USBDataError" Text="USB Daten Fehler" />
		<Item Id="UnableEraseMemory" Text="Fehler beim Speicher löschen bei" />
		<Item Id="UnableInitialiseRadio" Text="Fehler beim initialisieren:" />
    </Commons>
Edit: Fixed a typo

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

Re: Localistion support (foreign languages)

Post by VK3KYY » Sun Jun 12, 2022 9:47 am

DG3GSP wrote:
Sun Jun 12, 2022 8:00 am
Thanks Daniel & Roger

In this context it's slightly complicated for me to translate that 1:1 ;)
I would suggest to use:

Code: Select all

  <FirmwareLoaderUI_MD9600 Text="Firmware (MD9600,RT90) aufspielen">
    <Controls>
		<Control Id="btnProgram" Text="OpenMD9600 Datei wählen &amp; Update." />
		<Control Id="btnSelectDonorFW"	Text="Offizielle Firmware wählen" />
    </Controls>
    <Commons>
		<Item Id="FmOnly" Text="Nur FM" />
		<Item Id="Warning" Text="Warnung" />
		<Item Id="Success" Text="Erfolgreich" />
		<Item Id="Error" Text="Fehler" />
		<Item Id="OfficialFWNotSelected" Text="Keine offizielle Firmware. DMR wird nicht unterstützt" />
		<Item Id="SelectOfficialFirmware" Text="Offizielle Firmware auswählen" />
		<Item Id="FirmwareFiles" Text="Firmware Dateien" />
		<Item Id="OfficialFWVerified" Text="Offizielle Firmware wurde geprüft, Open Firmware wird DMR unterstützen" />
		<Item Id="OfficialFWNotCorrect" Text="Ausgewählte Datei ist keine offizielle Firmware Version" />
		<Item Id="ConnectingToRadio" Text="Verbinde Gerät" />
		<Item Id="ConnectedToRadio" Text="Gerät verbunden" />
		<Item Id="RadioNotConnected" Text="Gerät nicht verbunden, oder nicht im DFU Modus." />
		<Item Id="OnlyOpenMD9600FirmwareFilesSupported" Text="Nur OpenMD9600 Firmware Dateien werden unterstützt" />
		<Item Id="Writing" Text="Schreibe" />
		<Item Id="UploadComplete" Text="Upload komplett" />
		<Item Id="OperatingSystemNotSupported" Text="Betriebssystem nicht unterstützt" />
		<Item Id="USBDataError" Text="USB Daten Fehler" />
		<Item Id="UnableEraseMemory" Text="Fehler beim Speicher löschen bei" />
		<Item Id="UnableInitialiseRadio" Text="Fehler beim initialisieren:" />
    </Commons>
Edit: Fixed a typo
Thanks..

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

Re: Localistion support (foreign languages)

Post by DG3GSP » Mon Jun 13, 2022 3:08 pm

I had a look at the MD9600-Firmware loader and revised the translation to improve the
meaning of the donor file. ;)

Sorry for the repeated change..
Attachments
German.xml.zip
revised German translation - donor
(11.54 KiB) Downloaded 62 times

User avatar
F1RMB
Posts: 2518
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: Localistion support (foreign languages)

Post by F1RMB » Tue Jun 14, 2022 4:30 am

Hi Peter,
DG3GSP wrote:
Mon Jun 13, 2022 3:08 pm
I had a look at the MD9600-Firmware loader and revised the translation to improve the
meaning of the donor file. ;)

Sorry for the repeated change..
Thanks for update (BTW, it's better to have multiple updates than nothing at all ;-) ).

Cheers.
---
Daniel

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

Re: Localistion support (foreign languages)

Post by VK3KYY » Tue Jun 14, 2022 7:02 am

I've rebuild the CPS with the latest german update, made a new installer and uploaded it to the Latest folder

BG7SBJ
Posts: 5
Joined: Wed Jun 22, 2022 2:13 am

Re: Localistion support (foreign languages)

Post by BG7SBJ » Tue Jul 05, 2022 9:10 am

VK3KYY wrote:
Sat Apr 25, 2020 3:29 am
wuhaian wrote:
Sat Apr 25, 2020 2:26 am
F1RMB wrote:
Tue Apr 07, 2020 3:09 pm
Hi,



Thank you for this translation.
At the moment, we don't have any Chinese font, as far as I know, there is lot of glyphs even in the shortest one.
To add such support, and only if you can do the job, you need to draw all the needed glyphs, the current limit is 126, and that for the 5 different fonts (6x8, 6x8-bold, 8x8, 8*16 and 16*32) the firmware use.

I can send you a zip file containing all the glyph bitmaps pictures (XBM format, which you can edit on any platform using an "serious" image editor like Gimp).

BTW, the translation file you sent seems to be made out from an old language file, lot of entries are missing (around 46, .built is there twice), and many of them has changed since. But it's fixable.


It's not impossible to support Chinese language, but the first condition is the number of required glyphs.


Cheers.
---
Daniel

I think 6x8 can't display chinese font well. At least need to use 8x8.

We can reference Motorola GP338 Chinese version to creat font.

Please look the picture I send.

gp338 font.jpg
The Motorola firmware contains images of each of the Chinese characters which are used in that radio.

We will not simply be able to use the font data from Motorola radios because

1. There is no source code for this radio
2. Even if we had the source code and graphics, we would not have a license to use that font, because of copyright


The OpenGD77 firmware uses bitmap fonts, See. https://en.wikipedia.org/wiki/Computer_font#BITMAP
And only contains graphics images for latin characters e.g. 0-9 a-z A-Z, accented letters and some punctuation.

It is impossible for use to create bitmap fonts for the chinese language for you, because :-

1. We don't read or write or speak Chinese and have no knowledge of Chinese characters
2. We simply don't have time to learn how create the font.
3. Its also a huge amount of work to integrate a pictogram base language font into the firmware, because its likely a lot of other changes would be required.
Regarding the GD-77 Chinese of the DM-1801, why can't I refer to how the original firmware operates?
Capacity is not a problem in theory, because the original Chinese firmware of BF can support the complete 5000 commonly used Chinese characters, which means that it has built-in standard Chinese GB2312 character library

G4EML
Posts: 919
Joined: Sat Nov 16, 2019 10:01 am

Re: Localistion support (foreign languages)

Post by G4EML » Tue Jul 05, 2022 9:35 am

The radio without firmware supports nothing. Everything must be in the firmware. The original firmware includes Chinese characters. The OpenGD77 firmware does not. As described before, adding support for Chinese characters is a massive job and almost impossible for the developers who do not know the Chinese language.

S58SMS
Posts: 153
Joined: Mon Dec 20, 2021 8:00 am

Re: Localistion support (foreign languages)

Post by S58SMS » Tue Jul 05, 2022 11:52 am

So many chinese people in the World, and not a single developer to include this language? Shame on those.

User avatar
F1RMB
Posts: 2518
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: Localistion support (foreign languages)

Post by F1RMB » Tue Jul 05, 2022 3:24 pm

vselic wrote:
Tue Jul 05, 2022 11:52 am
So many chinese people in the World, and not a single developer to include this language? Shame on those.

Feel free to make a fork and support it. Let see who will be ashamed.

User avatar
EA3BIL
Posts: 161
Joined: Sat Nov 16, 2019 12:38 pm
Location: Terrassa. BCN.
Contact:

Re: Localistion support (foreign languages)

Post by EA3BIL » Tue Jul 05, 2022 6:12 pm

VK3KYY wrote:
Sun Jun 12, 2022 7:03 am
Guys,

I need translations for the MD9600 firmware loader exe

The texts are

Code: Select all

  <FirmwareLoaderUI_MD9600 Text="Firmware loader (MD9600,RT90)">
    <Controls>
		<Control Id="btnProgram" Text="Select OpenMD9600 file &amp; update." />
		<Control Id="btnSelectDonorFW"	Text="Select official firmware (donor) file" />
    </Controls>
    <Commons>
		<Item Id="FmOnly" Text="FM only" />
		<Item Id="Warning" Text="Warning" />
		<Item Id="Success" Text="Success" />
		<Item Id="Error" Text="Error" />
		<Item Id="OfficialFWNotSelected" Text="You have not selected the official / donor firmware. DMR will not be supported" />
		<Item Id="SelectOfficialFirmware" Text="Select the official firmware" />
		<Item Id="FirmwareFiles" Text="firmware files" />
		<Item Id="OfficialFWVerified" Text="The official firmware file has been verified, and Open firmware uploads will now have DMR functionality" />
		<Item Id="OfficialFWNotCorrect" Text="The file you selected was NOT the official firmware version" />
		<Item Id="ConnectingToRadio" Text="Connecting to radio" />
		<Item Id="ConnectedToRadio" Text="Connected to radio" />
		<Item Id="RadioNotConnected" Text="Radio not connected, or not in DFU mode." />
		<Item Id="OnlyOpenMD9600FirmwareFilesSupported" Text="Only OpenMD9600 firmware files are supported" />
		<Item Id="Writing" Text="Writing" />
		<Item Id="UploadComplete" Text="Upload complete" />
		<Item Id="OperatingSystemNotSupported" Text="Operating system not supported" />
		<Item Id="USBDataError" Text="USB Data Error" />
		<Item Id="UnableEraseMemory" Text="Unable to erase memory section at" />
		<Item Id="UnableInitialiseRadio" Text="Unable to initialise the radio:" />
    </Commons>
as usual its just the parts of the lines which have

Text="xxxxxxx"

which need to be translated.

Not the Id="xxxxx"

Code: Select all

ES:
<FirmwareLoaderUI_MD9600 Text="Cargador de Firmware (MD9600,RT90)">
    <Controls>
		<Control Id="btnProgram" Text="Seleciona fichero OpenMD9600 &amp; Actualitzar." />
		<Control Id="btnSelectDonorFW"	Text="Seleccionar fichero de firmware oficial (donante)" />
    </Controls>
    <Commons>
		<Item Id="FmOnly" Text="Sólo FM" />
		<Item Id="Warning" Text="Atención" />
		<Item Id="Success" Text="Correcto" />
		<Item Id="Error" Text="Error" />
		<Item Id="OfficialFWNotSelected" Text="No ha seleccionado origen de firmware oficial / donante. DMR no podrá usarse" />
		<Item Id="SelectOfficialFirmware" Text="Seleccionar el firmware oficial" />
		<Item Id="FirmwareFiles" Text="Archivos de firmware" />
		<Item Id="OfficialFWVerified" Text="Verificado fichero de firmware oficial correctamente, el firmware Open tendrá funciones DMR" />
		<Item Id="OfficialFWNotCorrect" Text="El fichero seleccionado NO es una versión de firmware oficial" />
		<Item Id="ConnectingToRadio" Text="Conectando con equipo" />
		<Item Id="ConnectedToRadio" Text="Conectado a equipo" />
		<Item Id="RadioNotConnected" Text="Equipo no conectado o no en modo DFU." />
		<Item Id="OnlyOpenMD9600FirmwareFilesSupported" Text="Sólo se acepta firmware OpenMD9600" />
		<Item Id="Writing" Text="Escribiendo" />
		<Item Id="UploadComplete" Text="Carga terminada" />
		<Item Id="OperatingSystemNotSupported" Text="Sistema Operativo no soportado" />
		<Item Id="USBDataError" Text="Error Datos USB" />
		<Item Id="UnableEraseMemory" Text="No se puede borrar memoria en" />
		<Item Id="UnableInitialiseRadio" Text="No se puede acceder a equipo:" />
    </Commons>

Code: Select all

CAT:
<FirmwareLoaderUI_MD9600 Text="Carregador de Firmware (MD9600,RT90)">
    <Controls>
		<Control Id="btnProgram" Text="Selecionar fitxer OpenMD9600 &amp; Actualizar." />
		<Control Id="btnSelectDonorFW"	Text="Seleccionar fitxer de firmware oficial (donant)" />
    </Controls>
    <Commons>
		<Item Id="FmOnly" Text="Sols FM" />
		<Item Id="Warning" Text="Atenció" />
		<Item Id="Success" Text="Correcte" />
		<Item Id="Error" Text="Error" />
		<Item Id="OfficialFWNotSelected" Text="No s'ha seleccionat origen de firmware oficial / donant. DMR no podrà fer-se servir" />
		<Item Id="SelectOfficialFirmware" Text="Seleccionar el firmware oficial" />
		<Item Id="FirmwareFiles" Text="Arxius de firmware" />
		<Item Id="OfficialFWVerified" Text="Verificat fitxer de firmware oficial correctament, el firmware Open tindrà funcions DMR" />
		<Item Id="OfficialFWNotCorrect" Text="El fitxer seleccionat NO és una versió de firmware oficial" />
		<Item Id="ConnectingToRadio" Text="Connectant amb equip" />
		<Item Id="ConnectedToRadio" Text="Connectat a equip" />
		<Item Id="RadioNotConnected" Text="Equip no connectat o no en mode DFU." />
		<Item Id="OnlyOpenMD9600FirmwareFilesSupported" Text="Sols s'accepta firmware OpenMD9600" />
		<Item Id="Writing" Text="Escribint" />
		<Item Id="UploadComplete" Text="Càrrega acabada" />
		<Item Id="OperatingSystemNotSupported" Text="Sistema Operatiu no soportat" />
		<Item Id="USBDataError" Text="Error Dades USB" />
		<Item Id="UnableEraseMemory" Text="No es pots esborrar memòria a" />
		<Item Id="UnableInitialiseRadio" Text="No es pots accedir a l'equip:" />
    </Commons>

Post Reply