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

[Discussion] Implementing GUI translation on Crowdin. #152

Open
kaktusus opened this issue Feb 12, 2024 · 11 comments
Open

[Discussion] Implementing GUI translation on Crowdin. #152

kaktusus opened this issue Feb 12, 2024 · 11 comments

Comments

@kaktusus
Copy link

Hey.

@looooo I can help you with running translations on the FreeCAD-addons repository in Crowdin.
It is not complicated and does not require much time.
I expect that this will make your workbench more widely used. 😄

@hasecilu
Copy link
Contributor

hasecilu commented Mar 9, 2024

From what I have seen on the main FreeCAD Crowdin project almost every day FreeCAD is being translated, on the addons project only 7 external WB are there from more than 100!.
The point is that having the same people that translates main FreeCAD translating the addons will help end users by having a level of consistency on the whole FreeCAD environment.

I'm sure doing this fellow translators that are already helping FreeCAD ecosystem would notice the translation support more easily on Crowdin that here on GitHub.

@kaktusus
Copy link
Author

kaktusus commented Mar 9, 2024

@hasecilu
you said it very nicely.

@luzpaz
Copy link
Contributor

luzpaz commented Sep 10, 2024

What's holding up getting gear wb translations on crowdin ?

@kaktusus
Copy link
Author

In principle, the author of this workbench has not yet expressed his opinion on this subject. 🥀

Maybe he is very busy or maybe he is not interested in such a turn of events ....
⁉️

@luzpaz
Copy link
Contributor

luzpaz commented Sep 10, 2024

Probably busy. @looooo do you need any assistance to make this happen ?

@looooo
Copy link
Owner

looooo commented Sep 10, 2024

I am currently in vacation. It would be nice to add translations.

@kaktusus
Copy link
Author

The translation file has already been imported into Crowdin is in the test directory of the Freecad-addons repository.

@hasecilu
Copy link
Contributor

hasecilu commented Sep 10, 2024

Just a note here: I think this was the first WB to which I added translation support, at that time I just used translate() function because that's what I saw on Fasteners and SheetMetal WBs.

The thing is that the correct way is to use QT_TRANSLATE_NOOP() with the command name as context (not the class name), as example see my recent changes on Render and CfdOF WBs.

The problem of not doing it like this is that some accented characters would not be well rendered. So let me finish a patch to fix this potential issue, there is a catch though: I would like that #153 is merged, the reason: enable users to use What's this? command on FCGear commands and get the correct Wiki article opened.

Having the commands' names renamed I could use those names for the contexts of strings, of course, if is not merged I can still use the current names but Wiki pages will not be open correctly. =(

@kaktusus
Copy link
Author

When you're ready (one of these ways) let me know then I'll do a source string export to Crowdin.

@ChuckInGame
Copy link

if you like, i would translate everything into German

@hasecilu
Copy link
Contributor

if you like, i would translate everything into German

Hi, the first option is to create an account on CrowdIn (https://crowdin.com/project/freecad-addons/de) and make translations there, and eventually will be synced; alternatively you can download the Gear_de.ts file from #190 and open it with Qt Linguist on your machine and finish the translation and then upload here or open new PR.

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

No branches or pull requests

5 participants