Page 61 of 93

Re: Localistion support (foreign languages)

Posted: Thu Jul 22, 2021 5:49 pm
by EA3BIL
Ops... Sorry my mistake.
Thanks Daniel !!

Re: Localistion support (foreign languages)

Posted: Sun Aug 01, 2021 4:31 pm
by F1RMB
minexixi wrote:
Sun Aug 01, 2021 3:42 pm
Will OpenGD77 support support Unicode display in the future?
Nope. There is no space to support multibyte encoding.

Re: Localistion support (foreign languages)

Posted: Thu Sep 02, 2021 2:44 pm
by SM0LTV
Hi Roger and Daniel!

Thanks for a fantastic job with Open GD-77, it has improved usage incredibly much.
'If there is interest in translating into Swedish, I can be helpful.

Best regards Roger C Jonsson
73 de SM0LTV

Re: Localistion support (foreign languages)

Posted: Thu Sep 02, 2021 6:36 pm
by F1RMB
Hi Roger,
SM0LTV wrote:
Thu Sep 02, 2021 2:44 pm
Hi Roger and Daniel!

Thanks for a fantastic job with Open GD-77, it has improved usage incredibly much.
'If there is interest in translating into Swedish, I can be helpful.

Best regards Roger C Jonsson
73 de SM0LTV
I just checked the alphabet, I guess we have all the glyphs.
Sure, send us the text (header file for the firmware), and a wordlist (for the voice prompts).

If you don't have the source files, you can grab the english.h there (you should use ISO-8859 or UTF-8 encoding (under Windows, notepad++ is doing a good job),
For the voiceprompts, grab and translate the English wordlist, available here (UTF-8 encoded).



Cheers.
---
Daniel

Re: Localistion support (foreign languages)

Posted: Thu Sep 02, 2021 7:10 pm
by SM0LTV
Ok Daniel!

I'll get back to you when I'm done. TNX,

//Roger

Re: Localistion support (foreign languages)

Posted: Thu Sep 02, 2021 9:43 pm
by SM0LTV
Hi again!

I'm done with the Translation now.

The ANSI_swedish.h. It was described in the file that it must not be saved as UTF-8 (If that is wrong, tel me and i make another copy)
/********************************************************************
*
* VERY IMPORTANT.
* This file should not be saved with UTF-8 encoding
* Use Notepad++ on Windows with ANSI encoding
* or emacs on Linux with windows-1252-unix encoding
*
********************************************************************/
And the UTF-8_wordlist_swedish.csv.

Regards Roger Caballero Jonsson, SM0LTV
Swedish.zip
(6.89 KiB) Downloaded 92 times

Re: Localistion support (foreign languages)

Posted: Fri Sep 03, 2021 5:15 am
by F1RMB
Hi,
SM0LTV wrote:
Thu Sep 02, 2021 9:43 pm
Hi again!

I'm done with the Translation now.

The ANSI_swedish.h. It was described in the file that it must not be saved as UTF-8 (If that is wrong, tel me and i make another copy)
/********************************************************************
*
* VERY IMPORTANT.
* This file should not be saved with UTF-8 encoding
* Use Notepad++ on Windows with ANSI encoding
* or emacs on Linux with windows-1252-unix encoding
*
********************************************************************/
And the UTF-8_wordlist_swedish.csv.

Regards Roger Caballero Jonsson, SM0LTV

Swedish.zip
Yes, I know ;-)
But if it has some non windows-1252 character, that will just mess up the whole thing, and we have our own encoding, but an UTF-8 source is required. It's also pretty easy to convert the encoding.
Once the correct encoding is defined, the next updates to the file shouldn't change that choosen encoding, this is the point of the warning text.


Cheers.
---
Daniel

Re: Localistion support (foreign languages)

Posted: Fri Sep 03, 2021 9:43 pm
by SM0LTV
OK Daniel!

Here come 2 new files UTF-8 encoded, i found an error in the wordlistfile.

Regards Roger

De SM0LTV
swedish_V2.zip
(6.91 KiB) Downloaded 105 times

Re: Localistion support (foreign languages)

Posted: Sat Sep 04, 2021 4:35 am
by F1RMB
Hi Roger,
SM0LTV wrote:
Fri Sep 03, 2021 9:43 pm
OK Daniel!

Here come 2 new files UTF-8 encoded, i found an error in the wordlistfile.

Regards Roger

De SM0LTV

swedish_V2.zip
Thanks, I will take a look at this later today.


Cheers.
---
Daniel

Re: Localistion support (foreign languages)

Posted: Sat Sep 04, 2021 8:31 pm
by F1RMB
Hi Roger,
SM0LTV wrote:
Fri Sep 03, 2021 9:43 pm
... just for the notification ...
Okay, I've raised a PR, with an updated file (as the latest Beta version has some modifications).

You will find that file attached to this post, can you translate the new entries (all the ones with a "///<<< TRANSLATE" at the end of the lines.
The encoding has changed, it's now ISO-8859.


Cheers.
---
Daniel