Jyers / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
http://marlinfw.org
GNU General Public License v3.0
2.14k stars 386 forks source link

[FR] multilanguage support #78

Open ArteInverso opened 3 years ago

ArteInverso commented 3 years ago

I am studying the multilanguage implementation on this screen with the previous versions and it made it difficult to carry out this task, but with the migration to Extensible UI I see this implementation more possible

Description

Language implementation es, fr, it ...... on the ender 3 v2 screen

This is a snippet of the tests I started

// Allow language selection from menu at run-time (otherwise use LCD_LANGUAGE) #define LCD_LANGUAGE_1 en #define LCD_LANGUAGE_2 fr #define LCD_LANGUAGE_3 de #define LCD_LANGUAGE_4 es #define LCD_LANGUAGE_5 it

Possible templates

https://github.com/Jyers/Marlin/tree/Ender_3_V2_Extensible_UI/Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/language

https://github.com/Jyers/Marlin/blob/Ender_3_V2_Extensible_UI/Marlin/src/lcd/extui/lib/mks_ui/tft_Language_sp.h

https://github.com/Jyers/Marlin/blob/Ender_3_V2_Extensible_UI/Marlin/src/lcd/extui/lib/mks_ui/tft_Language_en.h

If it is of your interest or someone is already working on this, it is my intention that we can do this as a team and be able to bring a better experience to users around the world.

Jyers commented 3 years ago

I would be very interested in implementing such a thing if people are interested in collaboration. I think the best approach would be for me to set up the framework of code for it to function, and then leave it to anyone interested in adding their language to create a set of string constants for the system.

Schnabulation commented 3 years ago

How many strings are to translate? I could do German if it‘s not too many...

gokhanselen commented 3 years ago

Türkce olmaz mı

ArteInverso commented 3 years ago

I would be very interested in implementing such a thing if people are interested in collaboration. I think the best approach would be for me to set up the framework of code for it to function, and then leave it to anyone interested in adding their language to create a set of string constants for the system.

I would like to be able to help carry out this work, I have already seen some things on how to implement it but it would be good to organize steps to follow, I will be helping with the translation into Spanish and other primary languages

gokhanselen commented 3 years ago

Eğer yardım edebilecek bir şeyim olursa yardımcı olmak isterim Ender3 v2 e anakart bozuldu 4.2.7 kart aldım bltouch da var Hangi yazılımı önerirsiniz Saygılarımla Gökhan SELEN

iPhone’umdan gönderildi

ArteInverso notifications@github.com şunları yazdı (20 Şub 2021 02:31):

 I would be very interested in implementing such a thing if people are interested in collaboration. I think the best approach would be for me to set up the framework of code for it to function, and then leave it to anyone interested in adding their language to create a set of string constants for the system.

I would like to be able to help carry out this work, I have already seen some things on how to implement it but it would be good to organize steps to follow, I will be helping with the translation into Spanish and other primary languages

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

bulgaro80 commented 3 years ago

I'm available for Italian, just let me know what to translate

esloch10 commented 3 years ago

I can help for french and arabic language .. if it's support

Tuncay-Ayhan commented 3 years ago

I can translate to Dutch if you want

robilabet commented 3 years ago

I can translate to Portuguese (Pt-Br) to help

Jonny11bonk commented 3 years ago

I can do Slovak language.

mlask commented 3 years ago

I can do Polish (pl-pl) translations.

Also, it's worth mentioning that there's font dump of DWIN T5UIC1 available. With access to the right tools it's possible to create own font for that screen.

JP-rg commented 3 years ago

I can get Spanish done, I normally live there but the Pandemic

N3tYaroz3 commented 3 years ago

I am available to translate into Italian

What are the files to translate?

Jyers commented 3 years ago

@N3tYaroz3 Nothing yet currently, I need to implement the language system and then I'll update this with what's needed.

N3tYaroz3 commented 3 years ago

@ N3tYaroz3 Al momento non c'è ancora niente, devo implementare il sistema linguistico e poi lo aggiornerò con ciò che è necessario.

In the meantime, thank you for what you are doing! Please take me into consideration if you need a translator for the Italian language, I would be happy to help you and I will gladly do it! 😊

Tuncay-Ayhan commented 3 years ago

@N3tYaroz3 Nothing yet currently, I need to implement the language system and then I'll update this with what's needed.

Maybe look into https://app.lokalise.com/ . I've seen people use it with the Home-Assistant project .

Joulss commented 3 years ago

Available for french if needed

Qubi-B commented 3 years ago

I can help with polish

agalakhov commented 3 years ago

I can help with Russian. I also could find a helper for Japanese.

imax10000 commented 3 years ago

I can provide German translations, but I will need some instructions on creating "a set of string constants for the system" as @Jyers suggested

Jyers commented 3 years ago

@imax10000, I may still try to use the marlin language system rather that writing my own, but if need be there will be a template that I will distribute for users to fill out with their contributed language.

agalakhov commented 3 years ago

Which fonts does the DWIN module support? I don't have any docs.

mlask commented 3 years ago

Which fonts does the DWIN module support? I don't have any docs.

@agalakhov Look here - standard font contains basic latin characters in few sizes and GB2312 (chinese, japanese, greek, cyrillic) character set in one size only.

JMVS commented 3 years ago

Count me in for es-AR!

TuriionCZ commented 3 years ago

Hi guys, can translate to czech language ;)

araziforum commented 3 years ago

I can help for translate Turkish

jonasl03 commented 3 years ago

Count me in for danish if this gets implemented

akechagias commented 2 years ago

I can do the Greek version, if it is supported!

dhupee commented 2 years ago

I can help with the Indonesian/Helping Malay once it implemented

dante-35 commented 2 years ago

For Turkish tranlation i can help too.