Files: qt_*.qm & qtbase_*.qm in src/Gui/Language not used?

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
vm4dim
Posts: 129
Joined: Tue Nov 23, 2021 1:05 am

Files: qt_*.qm & qtbase_*.qm in src/Gui/Language not used?

Post by vm4dim »

They remain unchanged 4-11 years.
Seems that actual translations been moved to files FreeCAD_*.qm
https://github.com/FreeCAD/FreeCAD/tree ... i/Language
User avatar
Kuzma30
Posts: 163
Joined: Wed Oct 24, 2018 11:50 am
Location: Ukraine

Re: Files: qt_*.qm & qtbase_*.qm in src/Gui/Language not used?

Post by Kuzma30 »

This is Qt "standart" dialog translations. They must be present.
RealThunder's A3 Wiki translation, join the project https://crowdin.com/project/freecad-asm3-wiki
User avatar
onekk
Veteran
Posts: 6149
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Files: qt_*.qm & qtbase_*.qm in src/Gui/Language not used?

Post by onekk »

vm4dim wrote: Sun Sep 18, 2022 10:07 pm They remain unchanged 4-11 years.
...
From my limited knowledge, seeing the dates on GitHub.

The .po file is 11 years old, so probably this file seems a remnants of something that has been moved or modified in some way?

4 years for other file seems to be "quite normal" as if no new functions are introduced, probably it is the original file when Qt5 development was started, (or last time soemthing is changed in the messages emitted).

Other files in the directory seems quite updated.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Files: qt_*.qm & qtbase_*.qm in src/Gui/Language not used?

Post by adrianinsaval »

Kuzma30 wrote: Mon Sep 19, 2022 5:37 am This is Qt "standart" dialog translations. They must be present.
why? are these not provided by the qt installation? if not, shouldn't they be updated? surely some things have changed in qt over the last decade.
User avatar
kaktus
Veteran
Posts: 1174
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: Files: qt_*.qm & qtbase_*.qm in src/Gui/Language not used?

Post by kaktus »

:mrgreen:
Yes these files contain standard strings and their translations for QT. :idea:
Some of them (a small number) are used by FreeCAD.

Of course they are outdated, and may contain incorrect translations for selected languages. :!:
Such a situation occurred for the Polish language.

By the time I managed to fix it my baldness had grown considerably, and without Aleks help it would have taken much longer .... :lol:

solutions:
  1. update the source files directly in the QT project and perform the update for FreeCAD.
  2. update the translation files locally and complete the update for FreeCAD.
I greet you all sincerely.
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".
User avatar
kaktus
Veteran
Posts: 1174
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: Files: qt_*.qm & qtbase_*.qm in src/Gui/Language not used?

Post by kaktus »

Some useful information can be found in the conversation on FreeCAD's Github in the section for translators.

https://github.com/FreeCAD/FreeCAD-tran ... issues/149

;)
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".
Post Reply