Wait what? How did I miss this news?
So these instructions would work for other external workbenches?
Wait what? How did I miss this news?
Ok we need to write documentation for this and make it prominent for Addon devs to see it. Anyone want to help me?yorik wrote: ↑Wed May 20, 2020 8:16 am Excellent! If you are interested, I would advise you to create a main .ts file (without language code in it), and add it to https://crowdin.com/project/freecad-addons (send me your crowdin username and I'll give you access rights). Then FreeCAD translators can then easily find it. When you have access right, you also have access to the crowdin API and automate all the process of uploading/retrieving translations, check the translation scripts I did for the BIM WB at https://github.com/yorikvanhavre/BIM_Wo ... ster/utils
Does every external workbench need to load ...?Kunda1 wrote: ↑Wed Feb 10, 2021 2:34 pmOk we need to write documentation for this and make it prominent for Addon devs to see it. Anyone want to help me?yorik wrote: ↑Wed May 20, 2020 8:16 am Excellent! If you are interested, I would advise you to create a main .ts file (without language code in it), and add it to https://crowdin.com/project/freecad-addons (send me your crowdin username and I'll give you access rights). Then FreeCAD translators can then easily find it. When you have access right, you also have access to the crowdin API and automate all the process of uploading/retrieving translations, check the translation scripts I did for the BIM WB at https://github.com/yorikvanhavre/BIM_Wo ... ster/utils
Code: Select all
from PySide.QtCore import QT_TRANSLATE_NOOP
from DraftGui import translate
Yorik, perhaps we should consider @vocx's refinements at https://github.com/shaise/FreeCAD_Sheet ... -546412627yorik wrote: ↑Fri Feb 12, 2021 1:22 pm https://wiki.freecadweb.org/Translating ... _workbench
But it still needs some work...
Code: Select all
if App.GuiUp:
correctEvgeniy wrote: ↑Mon Jul 26, 2021 6:59 pm Do I understand correctly that to start translating the FreeCAD interface, i need to register
here -->> https://crowdin.com/project/freecad/ru
Code: Select all
from FreeCAD.Qt import translate
Code: Select all
from FreeCAD import Qt
Qt.translate("context","text")