Translations for the FC interface
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Translations for the FC interface
I think that the updatets.py script still has an issue in it related to workbenches that used both C++ and Python -- in an attempt to a) fix that and b) make it a little clearer what it's doing in the first place, I've submitted a new draft PR, PR 5037. I'd appreciate some more eyes on that PR to make sure I haven't introduced some other error in the way I'm now handling the directories with Python in them.
Re: Translations for the FC interface
Where should I configure FC in order to make the translation update workwmayer wrote: ↑Thu Sep 16, 2021 9:55 am
...
Yes, the path ~/.FreeCAD/translations is used to check for .qm files.
The paths FreeCAD is looking for are:And recently a fourth path has been added that is controlled by user settings. git commit 719fb95382d59
- App.getUserAppDataDir() + "translations"
- App.getResourceDir() + "translations"
- :/translations (it's the path of built-in resources)
After the release of 0.20.26306 (Git) AppImage, manual (qm files) updates stopped working for me.
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
Re: Translations for the FC interface
Check the path name of:
Recently XDG support has been added to FreeCAD so that App.getUserAppDataDir() returns a differnent path name compared to before. So, all what you have to do is manually copying the files to the new location.
Code: Select all
App.getUserAppDataDir() + "translations"
Re: Translations for the FC interface
Works, thanks for the explanation.
Code: Select all
App.getUserAppDataDir()
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
Re: Translations for the FC interface
Hi @kaktus
you mentioned to me on github that the methodology to test translations locally is not working anymore? can you elaborate?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Translations for the FC interface
Welcome friend , FC lovers.
In the next consecutive release of FC, the location of the folder for local translation files has been changed.
Since I didn't know about it, I followed the old guidelines. This no longer works.
Two posts above I wrote how to check where to copy the translation files.
From now on, the files are to be copied to the new location so that you can continue to enjoy checking the quality of the translations yourself.
Right now I am sitting and waiting in line with my grandmother at the doctor's office, if you would like more detailed information, such as which release of the program the change was from, I can update that for you when I get home.
I don't like all these smart phones, gadgets etc. ..
Edit:
the change applies to all releases since
Version: 0.20.26375 (Git) AppImage
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
Re: Translations for the FC interface
JFYI in this post from Yorik, some information about Crowdin which can be useful:
https://forum.freecadweb.org/viewtopic. ... 79#p557579
https://forum.freecadweb.org/viewtopic. ... 79#p557579
Re: Translations for the FC interface
I am very glad that such a general guide was created. There are more bugs than people who could correct them.
Unfortunately, the repair is very tedious and time consuming.
Unfortunately, the repair is very tedious and time consuming.
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
Re: Translations for the FC interface
I have a super surprise for everyone working locally with translations.
invite you to read more: https://github.com/FreeCAD/FreeCAD-translations
the testing section.
The universal bash script will be published there in a moment.
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
Re: Translations for the FC interface
https://github.com/FreeCAD/FreeCAD-tran ... issues/123
Looking for feedback.
Looking for feedback.
RealThunder's A3 Wiki translation, join the project https://crowdin.com/project/freecad-asm3-wiki