Closed kaktusus closed 1 year ago
This is strange, it is done the same way as other workbenches... Are other python-based workbenches like Draft, Arch, etc... working OK?
Are other python-based workbenches like Draft, Arch, etc... working OK?
Yes
We also have two old tickets that have not been resolved so far.
Today I was surprised by the behavior of the program. Having BIM WB loaded, I switched the application language to English. To my surprise, the standard options were reloaded to English. The menu belonging to BIM was reloaded to Polish with the correct code page. Only by restarting the program and BIM wb did the full English version appear.
Ah yes indeed. I didn´t find how to have addon translations of menus retranslated by FreeCAD on language switch... Not sure if that's possible actually.. @chennes do you know?
@yorikvanhavre
we had a similar problem with the code page with Bézier
string, as I recall the problem was on the side of your development environment
Should be solved with the above commit. But of course it will take time for translators to update their translations. I'll leave this open so we don't forget to check
I'm glad. :wink:
Hi,
These strings stays in English for me
OS: Fedora Linux 37 (KDE Plasma) (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33617 (Git) AppImage
Build type: Release
Branch: master
Hash: ae215724dd6c5336dcbb263733c6830a24917963
Python 3.10.12, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.5, OCC 7.6.3
Locale: Polish/Poland (pl_PL)
Installed mods:
* freecad-mbdyn-dynamics-workbench
* BIM 2021.12.0
* freecad.gears 1.0.0
@kwahoo2 are the strings available to translate in freecad-addon crowdin ?
all are available and translated, example
Modify
https://crowdin.com/translate/freecad-addons/32152/en-pl#6620885
fixed
OS: Debian GNU/Linux trixie/sid (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33631 (Git) AppImage
Build type: Release
Branch: master
Hash: 2167fb6f7ec6ac5c2f6365d4c3035d2db6879b1e
Python 3.10.12, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.5, OCC 7.6.3
Locale: Polish/Poland (pl_PL)
Installed mods:
* Curves 0.5.0
* sheetmetal 0.2.56
* Reinforcement
* BIM 2021.12.0
* Rocket 3.1.0
* kicadStepUpMod 10.19.4
* fasteners 0.4.56
* Alternate_OpenSCAD 1.0.0
* Render 2023.2.6
overall, no the error persists I forgot that I previously activated Arch wb.
Today, for a test, I did a local import of translations for BIM. The issue did not occur.
This should in any case be solved now with https://github.com/yorikvanhavre/BIM_Workbench/commit/83620ae44a424424981d36a7fa6c7a7eaa68d348
It is fixed for me.
closing, then!
When I do a local import of translations the problem does not exist.
If I run FreeCAD without a local translation file there is a problem with the encoding of these characters.
@kwahoo2 Can you check it with you with the latest AppImage?
I started looking through the sources on GitHub with translations for the BIM workbench.
This file is very old. I don't see the reason for the character encoding problem in it. Probably at that time everything was still working properly. Where can I find up-to-date sources with the current translation file ... I would like to try to identify the problem.
Most work after the BIM update.
There remains one &2D Drafting
that was not included in the source code fixes. [line #571]
It is interesting to note that in all the friends I asked the problem does not occur.
After installing BIM I looked at the translation source files and there I can read the translation correctly.
Notice that the 3D / BIM
menu now appears twice. :fearful:
Notice that the 3D / BIM menu now appears twice. fearful
Weird, this does not happen here with me... Any error message?
I have not had any error messages
However, in your image, I see the menu name in an unfamiliar language ...
Desenho2D
Indeed that "2D drawing" menu didn't update... I had to restart FreeCAD. It's weird, it still shows wrong characters...
I have no idea what is causing this, though... Everything is the the same as other menu items in the InitGui file. Maybe something wrong with the translation on crowdin? Can you check if it's correct there?
I downloaded the translation file from Crowdin. I also reviewed the translation file in the sources on GitHub. I did not find any anomalies.
The only sensible comment of this situation I wrote here: https://github.com/FreeCAD/FreeCAD-translations/issues/225#issuecomment-1656286541
edit:
I do not know what the difference is in these instructions, but the last edition in the two cases you covered the change helped.
Aah good catch! I had missed that one. It's now fixed!
All in all, it is very puzzling why only in my case the error occurs. It seems that you have a good tester in my person .... :laughing:
And testing is super important and a very big part of bugfixing... Thanks!
Well done!
Now and with me everything works properly after the BIM update.
Main menu labels are displayed in wrong code page after loading BIM workbench.
Instead of diacritical characters, "funny marks" are displayed. In addition, this strings disappeared from Crowdin for the add-on BIM.
eg. https://crowdin.com/translate/freecad-addons/32152/en-pl?filter=basic&value=0#q=&Kre%C5%9Blenie%202D https://crowdin.com/translate/freecad-addons/32152/en-pl?filter=basic&value=0#q=Prz&yci%C4%85ganie https://crowdin.com/translate/freecad-addons/32152/en-pl?filter=basic&value=0#q=&Zarz%C4%85dzanie
They are also not in the main Crowdin repository for FreeCAD.
In this workbench there are more problems related to the lack of translations in the GUI.