[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Newbie question: tr() or QApplication.translate() ?
From:       "=?ISO-8859-1?Q?Gustavo_A._D=EDaz?=" <gustavo.diaz () gmail ! com>
Date:       2008-10-29 14:46:54
Message-ID: 64c123920810290746r73a729efx706875bb07e20fa4 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi guys,

This maybe is a newbie question, but reading the docs I am not sure whats
the difference or what is more appropriate to use when translating strings
inside my App.
So far, i was using QApplication.translate() but its arguments are too long
and sometimes I have very big strings which takes more than one line in my
code.
So, i wonder if I could use the tr() method for translating strings?
My app has languages like from English to Spanish as well.

Thanks.

Cheers.

-- 
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar

[Attachment #5 (text/html)]

Hi guys,<br><br>This maybe is a newbie question, but reading the docs I am not sure \
whats the difference or what is more appropriate to use when translating strings \
inside my App.<br>So far, i was using QApplication.translate() but its arguments are \
too long and sometimes I have very big strings which takes more than one line in my \
code.<br> So, i wonder if I could use the tr() method for translating strings?<br>My \
app has languages like from English to Spanish as \
well.<br><br>Thanks.<br><br>Cheers.<br clear="all"><br>-- <br>Gustavo A. \
Díaz<br>GDNet Projects<br> <a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a><br>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic