Localisation support (foreign languages)

Locked
User avatar
EA3FA
Posts: 175
Joined: Sat Nov 16, 2019 12:38 pm
Location: Terrassa. BCN.
Contact:

Re: Localistion support (foreign languages)

Post by EA3FA » Thu Jul 22, 2021 5:49 pm

Ops... Sorry my mistake.
Thanks Daniel !!

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

Re: Localistion support (foreign languages)

Post by F1RMB » Sun Aug 01, 2021 4:31 pm

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.

SM0LTV
Posts: 10
Joined: Tue Mar 16, 2021 7:18 pm

Re: Localistion support (foreign languages)

Post by SM0LTV » 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

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

Re: Localistion support (foreign languages)

Post by F1RMB » Thu Sep 02, 2021 6:36 pm

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

SM0LTV
Posts: 10
Joined: Tue Mar 16, 2021 7:18 pm

Re: Localistion support (foreign languages)

Post by SM0LTV » Thu Sep 02, 2021 7:10 pm

Ok Daniel!

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

//Roger

SM0LTV
Posts: 10
Joined: Tue Mar 16, 2021 7:18 pm

Re: Localistion support (foreign languages)

Post by SM0LTV » 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
(6.89 KiB) Downloaded 164 times

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

Re: Localistion support (foreign languages)

Post by F1RMB » Fri Sep 03, 2021 5:15 am

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

SM0LTV
Posts: 10
Joined: Tue Mar 16, 2021 7:18 pm

Re: Localistion support (foreign languages)

Post by SM0LTV » 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
(6.91 KiB) Downloaded 161 times

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

Re: Localistion support (foreign languages)

Post by F1RMB » Sat Sep 04, 2021 4:35 am

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

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

Re: Localistion support (foreign languages)

Post by F1RMB » Sat Sep 04, 2021 8:31 pm

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
Attachments
swedish.h.zip
(4.38 KiB) Downloaded 181 times

Locked