Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a simple tool to translate the language? #1445

Closed
SphaeroX opened this issue Jul 31, 2021 · 7 comments
Closed

Is there a simple tool to translate the language? #1445

SphaeroX opened this issue Jul 31, 2021 · 7 comments

Comments

@SphaeroX
Copy link

I have already read in the wiki that there is a possibility for translations (https://github.com/supermerill/SuperSlicer/wiki/Creating---updating-a-translation).

Unfortunately, this does not seem to be up to date, because there is still worked with java but currently everything about python goes?

So I looked at the .pot and quickly found that in the German translation there is already the text, but just with a different comment, here is an example:

localization/de/slicer.pot

#: src/libslic3r/PrintConfig.cpp:984
msgid "Position of perimeters starting points."
msgstr "Position des Startpunktes des Umfangs."

localization/slic3r.pot

#: src/libslic3r/PrintConfig.cpp:3177
msgid ""
"Position of perimeters' starting points.\n"
" "
msgstr ""

But this text is not translated in the current SuperSlicer version.

I would like to help and I think many others too but the hurdles are unfortunately too hard if you are not in the matter. Couldn't you write a small tool so that everyone can help?

So simply the sentence is displayed in English and then you can type it in your selected language. At the end the file comes out completely ready and you can put it here.

@supermerill
Copy link
Owner

supermerill commented Jul 31, 2021

yes, it was moved into https://github.com/supermerill/SuperSlicer/tree/master/resources/localization

I'll update the wiki

If the readme is not clear enough, please ask the question and I'll answer & update it.

@SphaeroX
Copy link
Author

SphaeroX commented Aug 2, 2021

Thank you!!!

@SphaeroX SphaeroX closed this as completed Aug 2, 2021
@SphaeroX
Copy link
Author

SphaeroX commented Aug 2, 2021

Okay i try it but on windows the msgunfmt commadn wont works... Maybe im to stupid for that.

Other Question, cant someone makes an simple YouTube Video for Windows?

@SphaeroX SphaeroX reopened this Aug 2, 2021
@supermerill
Copy link
Owner

supermerill commented Aug 2, 2021

Okay i try it but on windows the msgunfmt commadn wont works... Maybe im to stupid for that.

If you have some problems with it, you can download the (most recent) binaries here or the outdated here (use the installer or be sure they are in a directory that is in your PATH, ie it's callable from a command line)

Other Question, cant someone makes an simple YouTube Video for Windows?

I can, but that takes time, and can be easily obsolete if something changed.

@5axes
Copy link

5axes commented Aug 3, 2021

I'm personnaly, using the "old" ou previous solution to generate the SuperSlicer.po and SuperSlicer.mo file. In the new Ptython script used and call "pom_merger.py" we need to have the python-Levenshtein module installed but according to my research the python-Levenshtein has something to do with a C library or something like that .. The basic previous script was much more simple to use because you just need to use Python and no other additionnal library/module. Perhap's you could use the old script.

@supermerill
Copy link
Owner

we need to have the python-Levenshtein module installed but according to my research the python-Levenshtein has something to do with a C library or something like that ..

You can't install it with a pip install python-Levenshtein ?
I may add a switch to disable the little part that use it if not installed (if it can't be installed on some computers).

@5axes
Copy link

5axes commented Aug 5, 2021

You can't install it with a pip install python-Levenshtein ?

No I'm sorry I don't remember exactly the error message but after an hour , trying to install the python-Levenshtein module, has the previous script was working fine , as I was lazy I prefered to stay on the old script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants