Re: [poedit-users] Fwd: gettext localize strings with variables
"Werner F. Bruhin" <[email protected]> Thu, 28 Jul 2011 16:21:17 +0200
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <[email protected]> |
Peter,
On 07/28/2011 03:38 PM, Peter Irbizon wrote:
> Hello,
> I have
> variable OUHH and
>
> print _('This is %(OUHH)s a translatable string.' % locals())
>
> how can I translate this ? thanks
You want to translate the content of the variable "OUHH"? If yes, where
is it coming from?
gettext/poEdit will allow you to translate all of the above except the
"%(OUHH)s".
Werner
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey