Author Topic: Do Qt Apps Have I18n Support?  (Read 2742 times)

wjping119

  • Newbie
  • *
  • Posts: 47
    • View Profile
Do Qt Apps Have I18n Support?
« on: January 19, 2006, 01:59:49 am »
now i have made the gtk apps and the phython system setting apps which I often use can display chinese (the menu),but I also found some qt apps such as the package manage,pppsettings,justreader still can't, so I want to tranlate them,but I can't find any "po" or  "pot" file in their souce code,I have no idea whether they have i18n support.
« Last Edit: January 19, 2006, 02:01:10 am by wjping119 »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Do Qt Apps Have I18n Support?
« Reply #1 on: January 19, 2006, 04:01:15 am »
My impression is that  the .pot or .po locale stuff belong to the GTK apps, but for QT apps and others (e.g. those written in Python) seem not to have these locale files or have different specifications in the codes.    I may be very wrong here (coz I still consider myself a dummy!  ) so please correct me.

[Edited:  Suddenly recall that the locales in QT apps seem to be the .qm files ...    ]
« Last Edit: January 19, 2006, 04:06:25 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

wjping119

  • Newbie
  • *
  • Posts: 47
    • View Profile
Do Qt Apps Have I18n Support?
« Reply #2 on: January 19, 2006, 07:06:05 am »
I know the qm file ,it is equal to the mo file in the compiled package,it can compile the po file in the souce code packages.
but how I can translate these packages I mentioned above? it have nothing language files.
« Last Edit: January 19, 2006, 07:15:53 am by wjping119 »

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Do Qt Apps Have I18n Support?
« Reply #3 on: January 19, 2006, 08:52:37 am »
I'm afraid you'll have to edit the source
and replace the strings there (or add internationalization yourself)...
SLC-860 cacko / senao wifi

wjping119

  • Newbie
  • *
  • Posts: 47
    • View Profile
Do Qt Apps Have I18n Support?
« Reply #4 on: January 19, 2006, 09:10:06 pm »
I have to translate the source codes
but,how can I compile for zaurus?
it's so simple ,I don't know how to recompile it
« Last Edit: January 19, 2006, 10:41:37 pm by wjping119 »