ESP3D-WEBUI icon indicating copy to clipboard operation
ESP3D-WEBUI copied to clipboard

Some translation are incompleted

Open luc-github opened this issue 6 years ago • 26 comments

Due to new setup wizard and settings page translation and coming status page - some German translations are missing Help is more than welcome

luc-github avatar Sep 06 '17 08:09 luc-github

Hi Luc,

just made a pull request. There are some sub tabs i could not translate. At this moment i also have issues to use node.js and gulp to test it. I am using a Win 10 64bit. I could also translate to Dutch if needed.

3d-gussner avatar Nov 03 '17 05:11 3d-gussner

Thank you What issue do you meet ? - I use it on Win7 and Win10 both 64b without issue (https://github.com/luc-github/ESP3D-WEBUI/wiki/Compilation---Development) 1- install nodejs 2 - go to ESP3D directory using terminal (cmd.exe) 3 - launch every command present in install.bat

npm install --global gulp-cli
npm install --save-dev gulp
npm install --save-dev gulp-jshint
npm install --save-dev jshint
npm install --save-dev gulp-if
npm install --save-dev gulp-concat
npm install --save-dev gulp-uglify
npm install --save-dev gulp-clean-css
npm install --save-dev gulp-remove-code
npm install --save-dev del
npm install --save-dev gulp-zip
npm install --save-dev gulp-gzip
npm install --save-dev gulp-htmlmin
npm install --save-dev gulp-replace
npm install --save-dev gulp-smoosher

4 - type gulp package to build index.html.gz with your changes

It should work

Sure every translation is welcome- thank you

luc-github avatar Nov 03 '17 07:11 luc-github

Hi, I'm managing to translate the interface in Italian.

How to test the translation?

I have cloned the repo usign git clone to muy local devel and now I have a it.js in language subdirectory.

Here the file trans-it.txt

Regards

Carlo D.

onekk avatar May 31 '18 16:05 onekk

Salve, ^_^ Thank you - excellent ! I just integrated your file - I have modified some part to use HTML char instead of accents https://github.com/luc-github/ESP3D-WEBUI/commit/d6dfc62490c7f5b88143a2536f23c8f49e2210ea

You can review it

if you have time can you check the 2.x for Italian ? - I enclose spanish version for the complete list of words to translate

es.zip

luc-github avatar May 31 '18 16:05 luc-github

Hi Luc, I have managed to translate the V 2.0 file, as a base I have used a diff from the es.js of the v1 and the es.js you kindly send me.

So I'm not 100% sure that it is correct, plus As I0ve not a V2 installed, I have guessed some translation, and some I've left untraslated from the English text.

So here my work, ASA you integrate it in the UI file i promise i will download it and check the V2 interface on my printer.

As I've a ATMEGA 2560 controller running MK4duo (Marlinkimbra) I hope I could test almost all the string, but feel free to contact me if something is wrong.

Best Regards.

Carlo D. it-v2.0.txt

onekk avatar Jun 01 '18 08:06 onekk

Hi Carlo, thanks a lot ^_^, I will integrate today

luc-github avatar Jun 01 '18 08:06 luc-github

Hi, Luc, I have checked a little with my configuration and found that some error are left in the files, so after some other work, i have managed to make two new files, (hope they are more correct).

Some word have changed due to a better learning of the contest in which them are in the interface, some other are left untranslated, as in Italian is a common practice to leave some term untranslated, i.e. Files and Directory but also Router and Access Point and Baud Rate.

For the interface I have to check all the buttons and the screens, but this work is left for another time, after the Week End.

Here two files V1.0 for the standard interface and V2.0 for the new interface. for a better handling I have added the date of the translation.

Sorry for the double work in so little time, but if you haven't implemented the italian translation I have not been able to check the files in the ESP3D on my printer.

it-v20-20180601.txt it-v10-20180601.txt

onekk avatar Jun 01 '18 15:06 onekk

Thank you I will update repo later ^_^

luc-github avatar Jun 01 '18 15:06 luc-github

GRBL_ESP32 need a lot of translation in 2.1 - will prepare it soon

luc-github avatar Oct 03 '18 07:10 luc-github

WiKi has now the translations status and the template/files I am closing this topic then

luc-github avatar Dec 09 '18 16:12 luc-github

I reopen it as some translations were not included in language.tpl and some languages are still incomplete https://github.com/luc-github/ESP3D-WEBUI/wiki/Translation-support

thank you for the help and support

luc-github avatar May 20 '19 00:05 luc-github

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 09 '19 08:07 stale[bot]

HI LUC, I transolated index.html and itegrated HUNGARIAN language. I tested work good.

This is.

index.html.gz

kondorzs avatar Jun 10 '20 07:06 kondorzs

@kondorzs thank you but can you use the template file https://raw.githubusercontent.com/luc-github/ESP3D-WEBUI/2.1/www/js/language/lang.tpl like explain in wiki : https://github.com/luc-github/ESP3D-WEBUI/wiki/Translation-support

using the index.html is too fuzzy

luc-github avatar Jun 10 '20 08:06 luc-github

ok I will put Hungarian language in template file I will cut from index.html.

kondorzs avatar Jun 10 '20 09:06 kondorzs

I transolated 99% tihis is Hungarian language hu.js file.

hu.zip

kondorzs avatar Jun 10 '20 12:06 kondorzs

Here some more work on translation:

e3D_it_trans.txt

Some lines are missing, I have modified all the accented characters with the html convention é and so on.

What is the proper standard? unicode characters are accepted as is at least for the accented vovels, or the html form is better?

I have modified the name, as Github don't permit the js extension.

Regards

Carlo D.

onekk avatar Jun 10 '20 13:06 onekk

@kondorzs I need to review it because looks like a lot of " are missing Also what it the translation of Hungarian language in Hungarian language ? is it Magyar ?

@onekk thank you, I will update italian when adding Hungarian

luc-github avatar Jun 10 '20 13:06 luc-github

Yes Hungarian = Magyar. I tried 'é' character and work well in index.html and I tested in ESP-01 module. Thak you modify and adding my transolation language.

kondorzs avatar Jun 10 '20 17:06 kondorzs

kép

kondorzs avatar Jun 10 '20 19:06 kondorzs

@onekk Sorry I missed your question :

What is the proper standard? unicode characters are accepted as is at least for the accented vovels, or the html form is better?

In 2.1 the html form is better for special char, for some reason the conversion is not UTF8, so display is garbage for browser not having these chars table - in 3.0 it is fully UTF8 and it won't be necessary anymore

luc-github avatar Jun 11 '20 06:06 luc-github

integration done https://github.com/luc-github/ESP3D-WEBUI/commit/069771a3f34117054bcfb5cb26a8e6c350a2dc23 Thank you ^_^

Edit: Wiki updated https://github.com/luc-github/ESP3D-WEBUI/wiki/Translation-support

luc-github avatar Jun 11 '20 06:06 luc-github

I thank you, please.

Br Zsolt

kondorzs avatar Jun 11 '20 07:06 kondorzs

Hi, I tested new firmware and languages files, work very vell, but I missed two word transolated no visible. Reason is one space.

One: bad "TargetFW":"Cél FW",

good

"Target FW":"Cél FW",

kép

Two: I don't founded in sampes file this words...

"Web Socket"

Just " "Web socket output" this trasolated. original hu.js

Bat "Web Socket" I can't transolated just.

correct hu.js is:

hu.zip

I'm sorry....

kondorzs avatar Jun 11 '20 08:06 kondorzs

Thank you, fixed with some others typo I have noticed https://github.com/luc-github/ESP3D-WEBUI/commit/f137b71e33e253bcbd33c26eab396756bc10931d

I have noticed tpl is not up to date and still miss some translations (e.g for Notifications) but will fix that later

luc-github avatar Jun 11 '20 09:06 luc-github

OK Thanks

kondorzs avatar Jun 11 '20 09:06 kondorzs

Closing for 2.1, will create new ticket for 3.0 when ready

luc-github avatar Oct 03 '23 05:10 luc-github

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Oct 14 '23 00:10 github-actions[bot]