OpticsWorkbench icon indicating copy to clipboard operation
OpticsWorkbench copied to clipboard

[Feature] Adding translations to Optics workbench and using crowdin to manage them

Open luzpaz opened this issue 1 year ago • 3 comments

@chbergmann We're trying to get popular workbenches translated and into crowdin

  • https://github.com/FreeCAD/FreeCAD-addons/issues/187

Any interest in that ?

/cc @kaktusus & @hasecilu

luzpaz avatar Sep 11 '24 14:09 luzpaz

If your workbench is ready for translation, we can help you handle translations on the Crowdin platform.

kaktusus avatar Sep 11 '24 15:09 kaktusus

I can do that when I have time.

chbergmann avatar Sep 11 '24 16:09 chbergmann

Check my PRs on Render and CfdOF WBs, there is implemented the translation support in the correct way.

hasecilu avatar Sep 11 '24 19:09 hasecilu

What's the status here ?

luzpaz avatar Dec 03 '24 18:12 luzpaz

translations for German and Chinese have been added

chbergmann avatar Dec 04 '24 16:12 chbergmann

I only see the german translations in https://github.com/chbergmann/OpticsWorkbench/blob/main/translations/

Also, is there a reason you're keeping the .qm file ?

Are you planning to use Crowdin, like other workbenches are ?

luzpaz avatar Dec 04 '24 17:12 luzpaz

Also it's good idea to include the agnostic file (a clean file with no locale and no translations) for people that wants to also translate it.

hasecilu avatar Dec 04 '24 19:12 hasecilu

I only see the german translations in https://github.com/chbergmann/OpticsWorkbench/blob/main/translations/ Chinese files have been added

Also, is there a reason you're keeping the .qm file ? Yes, they are needed to display the selected language. qm files are not generated automatically if somebody installs the Optics workbench.

Are you planning to use Crowdin, like other workbenches are ? I asked Yorik again for access to the FreeCAD-addons project. Once I got it I will do.

chbergmann avatar Dec 07 '24 09:12 chbergmann

The agnostic file got lost, but anybody can use

Also it's good idea to include the agnostic file (a clean file with no locale and no translations) for people that wants to also translate it. I do not have one. But it is also easy to use any file in another language and exchange the translations. Or use crowdin once I got access and uploded the translations.

chbergmann avatar Dec 07 '24 09:12 chbergmann

This WB has been added to CrowdIn, translations synced.

hasecilu avatar Dec 08 '24 18:12 hasecilu