no translation of Path wb

Discuss here everything concerning translations. This includes the wiki as well as the help system and the crowdin translations of FreeCAD itself.
david69
Veteran
Posts: 1774
Joined: Wed Jan 01, 2014 7:48 pm

no translation of Path wb

Post by david69 »

Code: Select all

OS: Ubuntu 22.04.1 LTS (LXQt/Lubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31556 (Git) AppImage
Build type: Release
Branch: master
Hash: 4091db47397f6e537a284f50c4f572545f3f30d0
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: French/France (fr_FR)
Installed mods: 
  * Help 1.0.3
with this version, none of the tools, shorcuts of Path workbench are translated.
Inspection and Surface too but less surprising as there is nothing on Crowdin for them.
User avatar
Roy_043
Veteran
Posts: 8455
Joined: Thu Dec 27, 2018 12:28 pm

Re: no translation of Path wb

Post by Roy_043 »

I see that the Draft WB and Arch WB are also no longer translated. The Draft_rc.py and Arch_rc.py files are a lot smaller than before. So maybe there is some compilation error?

FreeCAD_weekly-builds-30492-2022-10-09-conda-Windows-x86_64-py310.7z:
Draft_rc.py is ca. 24MB.

FreeCAD_weekly-builds-30669-2022-10-16-conda-Windows-x86_64-py310.7z and later:
Draft_rc.py is ca. 11MB.
User avatar
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: no translation of Path wb

Post by chennes »

Pinging @yorik
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
david69
Veteran
Posts: 1774
Joined: Wed Jan 01, 2014 7:48 pm

Re: no translation of Path wb

Post by david69 »

with the version I put in my first post, they are back with the new translation.
they have been removed, see https://forum.freecadweb.org/viewtopic.php?f=45&t=74710. I have retranslated them but at that time Path wb was not impacted.
a merge with Crowdin occured on the 9th of Jannuary. Yesterday I gave a look to these worbenches to check if the translations were present and it is at this moment I have found the issue with Path wb.

edit: the idea now is to sync with the wiki.
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: no translation of Path wb

Post by yorik »

I had some fiddling with the pyside translation tools in the last weeks, and indeed i seem to have used a wrong version that removed large parts of translations. Now apparently I am using the correct version (lupdate from qt6, with @chennes 's patch) and - apparently again - everything is back to normal.(I did 2 updates after using the right version, last one monday january 9th).

If anyone is spotting some missing translation, could you inform:

- what the untranslated text is, in which workbench and where in the GUI
- if that text is present or not on crowdin

So we can look further to what is happening...
david69
Veteran
Posts: 1774
Joined: Wed Jan 01, 2014 7:48 pm

Re: no translation of Path wb

Post by david69 »

@yorik all the commands of Path wb are missing and I've got the latest Appimage, see my first post.

I am also exchanging with @kaktus on Crowdin when I find some missing words and so on. when it is confirmed, Kaktus opens bug on Github.
Marco_T
Posts: 263
Joined: Mon Jan 11, 2016 11:58 pm
Location: Di ca da l'aghe

Re: no translation of Path wb

Post by Marco_T »

Code: Select all

OS: Slackware 15.0 x86_64 (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31556 (Git) AppImage
Build type: Release
Branch: master
Hash: 4091db47397f6e537a284f50c4f572545f3f30d0
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: Italian/Italy (it_IT)

From italian side I confirm what David said.
Draft & Arch etc (after 1700 manual re-translations!) seem ok now but commands of Path, Inspector and Surface are ko. The latter two have disappeared from crowdin.
david69
Veteran
Posts: 1774
Joined: Wed Jan 01, 2014 7:48 pm

Re: no translation of Path wb

Post by david69 »

the addon Help should be translated too, it is useful.
User avatar
hasecilu
Posts: 124
Joined: Sat Jan 29, 2022 7:23 pm
Contact:

Re: no translation of Path wb

Post by hasecilu »

Hi, I also noted something similar, I tracked an e-mail saying: "2,010 new strings for translation (15,175 words). " which I though that was a lot and then after checking a lot of strings I noted that there are several strings that say: "FreeCAD's TM, 100% match, n months ago" which means that somehow the ID of some strings are lost and y crowdin threat the strings like new ones, of course there are also new strings and modified ones.

Does anyone know is there is a way of automatically use the TM (Translation Memory) on strings that match 100%? * Note that this is not an automatic translation, we are "restoring" a previously translated string

I think this have happen a lot before because when I started translating FreeCAD a significant amount of strings have "FreeCAD's TM, 100% match" label and most translations were correct, so no change was really needed.

I checked the "Version: 0.21.0.31598 (Git) AppImage" and the UI matches with what I see on crowdin, most affected WB are Arch and Draft.
david69
Veteran
Posts: 1774
Joined: Wed Jan 01, 2014 7:48 pm

Re: no translation of Path wb

Post by david69 »

@hasecilu give a look to that thread where Kuzma30 exposes "automatic" solution.
https://forum.freecadweb.org/viewtopic.php?f=45&t=74710
you will be may be more successful then me.
In my case, well, I have, with of few others, manually retranslated all, which forced me to change some wrong translations.
The good point, as said kaktus, Crowdin presents old translations which speeds up a bit the work.

@yorik an other part which is not update, it is the translations of the web site. take this page, there are still English
https://www.freecad.org/features.php?lang=fr
or may be the swap between between pages is not doing correctly.
Post Reply