Hi,

at the moment we're using the QT's trUtf8() (translate) method in 
combination with lupdate and QT-Linguist. Here's a snippet of the 
lupdate man-page:

"This page documents the Qt Linguist Update tool for the Qt GUI toolkit.
Lupdate reads a qmake/tmake project file (.pro file), finds the trans‐
latable strings in the specified source, header and interface files,
and updates the translation files (.ts files) specified in it. The
translation files are given to the translator who uses Qt Linguist to
read the files and insert the translations."

Example:

m_pInfoMenu->addAction( trUtf8("&User manual"), this, SLOT( 
showUserManual() ), QKeySequence( "Ctrl+?" ) );

-Sebastian



Journeyman schrieb:
> On Fri, 18 Jul 2008 20:54:13 +0200
> Jakob Lund <[EMAIL PROTECTED]> wrote:
>
>   
>> I have no experience with i18n, but looking at 
>> http://doc.trolltech.com/4.4/i18n.html , Qt's own methods look
>> qood... What did you do w.r.t. i18n of the U.I. earlier on?
>>     
>
> Honestly a long time passed, I should dig into old mail archives :)
> Probably Comix himself could shed some light, but if I remember
> correctly in H2-qt3 there were no use of such i8n classes. I think more
> likely he referred to the QTlinguist tool, that is detaching the
> translation in extenal files.
>
> Anyway, if you feel the i8n classes can do the job, I see no problem in
> using them.
>
> Antonio
>
> -------------------
> He looks: Dead.
> --
> Journeyman of 666, Inc.
> RLU #279448
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Hydrogen-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to