Translate application
Asked by
Dorian
on 2009-11-26
Hi,
I can translate the GUI generated by Glade, but how can i translate (in the same .pot file ?) the UI text modified by my application ?
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Quickly Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Didier Roche
- Solved:
- 2009-11-27
- Last query:
- 2009-11-27
- Last reply:
- 2009-11-27
|
#1 |
Hey Dorian,
Thanks for using Quickly.
Yeah, this is a bug opened on Quickly (bug #423529). This will be fixed in Quickly 0.4
You can in the meanwhile just add in the top of our project files:
import gettext
from gettext import gettext as _
and change on each print ("blablabla") by: print _("blablabla")
Dorian (ikolpm) said : | #2 |
Thanks Didier Roche, that solved my question.
To post a message you must log in.