Author Topic: Qt4-fsarchiver language settings  (Read 275 times)

Offline Serj

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 163
Qt4-fsarchiver language settings
« on: March 17, 2013, 06:03:56 PM »
 
I installed qt4-fsarchiver from the repo.
 
The program has the ability to switch the interface to other languages ​​(German and Russian). If I select the settings for any of these languages, the interface is still in English.
System: KDE 4.9.5, locale: UTF-8 ru_RU, en_US, fully updated.
 
Does anyone have this problem?
How can I fix this?
 
« Last Edit: March 17, 2013, 06:09:33 PM by Serj »

Online JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2116
Re: Qt4-fsarchiver language settings
« Reply #1 on: March 17, 2013, 06:15:43 PM »
The rpm  contains:

/usr/bin/qt4-fsarchiver
/usr/share/applications/qt4-fsarchiver.desktop
/usr/share/qt4-fsarchiver
/usr/share/qt4-fsarchiver/applications-internet-ein.png
/usr/share/qt4-fsarchiver/applications-internet.png
/usr/share/qt4-fsarchiver/book_previous.png
/usr/share/qt4-fsarchiver/cancel.png
/usr/share/qt4-fsarchiver/disk.png
/usr/share/qt4-fsarchiver/einstellung.png
/usr/share/qt4-fsarchiver/folder_back.png
/usr/share/qt4-fsarchiver/folder_go.png
/usr/share/qt4-fsarchiver/folder_page_white.png
/usr/share/qt4-fsarchiver/harddrive.png
/usr/share/qt4-fsarchiver/information.png
/usr/share/qt4-fsarchiver/mbr_restore.png
/usr/share/qt4-fsarchiver/mbr_save.png
/usr/share/qt4-fsarchiver/qt4-fsarchiver_de.ts
/usr/share/qt4-fsarchiver/qt4-fsarchiver_ru.ts
/usr/share/qt4-fsarchiver/setting.png

See no po/mo files in it so it's English only.

Maybe not added I guess?

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline Serj

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 163
Re: Qt4-fsarchiver language settings
« Reply #2 on: March 17, 2013, 06:28:55 PM »
 
Packages from other distributions and source code include:
usr/share/qt4/translations/qt4-fsarchiver_de.qm
usr/share/qt4/translations/qt4-fsarchiver_ru.qm
 
I tried to compile the files from qt4-fsarchiver_de.ts and qt4-fsarchiver_ru.ts and take them from other distributions, but it did not help. :(
 
« Last Edit: March 17, 2013, 06:37:03 PM by Serj »

Online JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2116
Re: Qt4-fsarchiver language settings
« Reply #3 on: March 17, 2013, 06:39:09 PM »
For localization is a mo file needed.
As example to localize synaptic in dutch:
The rpm have to contain: /usr/share/locale/nl/LC_MESSAGES/synaptic.mo

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline Serj

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 163
Re: Qt4-fsarchiver language settings
« Reply #4 on: March 17, 2013, 08:33:19 PM »
 
Source code tarball, qt4-fsarchiver.pro file:
 
Code: [Select]
...
translations.files = translations/qt4-fsarchiver_de.qm \
                      translations/qt4-fsarchiver_ru.qm
translations.path = /usr/share/qt4/translations
...

But rpm does not contains these files... ???
 
« Last Edit: March 17, 2013, 09:57:06 PM by Serj »

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2846
    • other projects...
Re: Qt4-fsarchiver language settings
« Reply #5 on: March 18, 2013, 06:54:26 AM »
just updated our package to the latest 0.6.17.1 and the language files are now properly included but they still are not applied.  :-\
-p.

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3721
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Qt4-fsarchiver language settings
« Reply #6 on: March 18, 2013, 06:59:59 AM »
add this files
usr/share/qt4/translations/qt4-fsarchiver_de.qm
usr/share/qt4/translations/qt4-fsarchiver_ru.qm
and it will displayed

Regards
Daniel

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2846
    • other projects...
Re: Qt4-fsarchiver language settings
« Reply #7 on: March 18, 2013, 07:02:32 AM »
add this files
usr/share/qt4/translations/qt4-fsarchiver_de.qm
usr/share/qt4/translations/qt4-fsarchiver_ru.qm
and it will displayed

Regards
Daniel

That is exactly what I have done but the translations don't show up, maybe I must use a German localised system?

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3721
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Qt4-fsarchiver language settings
« Reply #8 on: March 18, 2013, 07:21:01 AM »
add this files
usr/share/qt4/translations/qt4-fsarchiver_de.qm
usr/share/qt4/translations/qt4-fsarchiver_ru.qm
and it will displayed

Regards
Daniel

That is exactly what I have done but the translations don't show up, maybe I must use a German localised system?

hmmmm, i had repacked the packages with no luck, maybe something wrong with translation files...

Offline Serj

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 163
Re: Qt4-fsarchiver language settings
« Reply #9 on: March 18, 2013, 09:33:48 AM »
hmmmm, i had repacked the packages with no luck, maybe something wrong with translation files...

Google finds a lot of screenshots of the program in German and Russian. :-\
By the way, viewing *. ui files shows that the native language of the program - German. ???
 
« Last Edit: March 18, 2013, 09:47:39 AM by Serj »

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3721
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Qt4-fsarchiver language settings
« Reply #10 on: March 18, 2013, 11:35:12 AM »
no luck, rewrite the specfile, and only language is English here...