stasz a écrit :
> On Tue, 09 Aug 2005 23:59:26 +0200, cantabile wrote:
>
>
>>stas a écrit :
>>
>>
>>>As a reminder, make sure that you install gettext in the namespace
>>>of your toplevel module.
>
> []
>
>>Noticed something :
>>I must import test2.py AFTER gettext.install('test1') and even
On Tue, 09 Aug 2005 23:59:26 +0200, cantabile wrote:
> stas a écrit :
>
>> As a reminder, make sure that you install gettext in the namespace
>> of your toplevel module.
[]
> Noticed something :
> I must import test2.py AFTER gettext.install('test1') and even then, if
> test3.py imports test
stas a écrit :
> As a reminder, make sure that you install gettext in the namespace
> of your toplevel module.
> What I mean is this:
>
> test1.py imports test2.py and test3.py
> test2.py imports test4.py
>
> Now you have to place the gettext.install call in test1.py and
> then the other modules
Ok, I'll try that.
Thanks again Stasz !
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 08 Aug 2005 17:39:34 +0200, cantabile wrote:
> BTW stasz,
> Maybe you'll have still some time for the following question. Trying my
> luck :))
>
> Suppose I have several units (.py files), say test.py test1.py tets2.py
> , test.py being my main file.
> I've read I can import gettext and
On Mon, 08 Aug 2005 17:01:21 +0200, cantabile wrote:
> stasz a écrit :
> Wht ! Working at last, after three days... It wasn't the LANG param
[...]
> Anyways, you made my day my friend !
> Many many thanks !
Your welcome :-)
Stas
--
http://mail.python.org/mailman/listinfo/python-list
BTW stasz,
Maybe you'll have still some time for the following question. Trying my
luck :))
Suppose I have several units (.py files), say test.py test1.py tets2.py
, test.py being my main file.
I've read I can import gettext and install in the main unit. Then, must
I create .po files for each u
stasz a écrit :
> Your steps seems alright.
> Just a thought; you do start test1.py from a [EMAIL PROTECTED]
> environment do you?
> I mean in a xterm do: export [EMAIL PROTECTED]
> And then start test1.py from there.
>
> Stas
Wht ! Working at last, after three days... It wasn't the LANG par
On Mon, 08 Aug 2005 02:56:35 +0200, cantabile wrote:
> stasz a écrit :
>> On Sun, 07 Aug 2005 21:33:21 +0200, cantabile wrote:
>>
>>
>>>stasz a écrit :
>>>
On Sun, 07 Aug 2005 11:09:14 +0200, cantabile wrote:
>Hi,
>I'm failing to make it work but can't find out what's
stasz a écrit :
> On Sun, 07 Aug 2005 21:33:21 +0200, cantabile wrote:
>
>
>>stasz a écrit :
>>
>>>On Sun, 07 Aug 2005 11:09:14 +0200, cantabile wrote:
>>>
>>>
>>>
Hi,
I'm failing to make it work but can't find out what's wrong. Here's what
I do :
>>>
>>>[]
>>>
>>>
How come ?
On Sun, 07 Aug 2005 21:33:21 +0200, cantabile wrote:
> stasz a écrit :
>> On Sun, 07 Aug 2005 11:09:14 +0200, cantabile wrote:
>>
>>
>>>Hi,
>>>I'm failing to make it work but can't find out what's wrong. Here's what
>>>I do :
>>
>> []
>>
>>>How come ? What's wrong with what I am doing ?
>
stasz a écrit :
> On Sun, 07 Aug 2005 11:09:14 +0200, cantabile wrote:
>
>
>>Hi,
>>I'm failing to make it work but can't find out what's wrong. Here's what
>>I do :
>
> []
>
>>How come ? What's wrong with what I am doing ?
>
> Start with this little howto about gettext.
> http://childspla
On Sun, 07 Aug 2005 11:09:14 +0200, cantabile wrote:
> Hi,
> I'm failing to make it work but can't find out what's wrong. Here's what
> I do :
[]
> How come ? What's wrong with what I am doing ?
Start with this little howto about gettext.
http://childsplay.sourceforge.net/translate-howto.html
Hi,
I'm failing to make it work but can't find out what's wrong. Here's what
I do :
test.py
import gettext
gettext.install('')
msg = _("Message without accented characters")
print msg
Then I do :
xgettext test.py
mv message.po message pot
msginit --> outpu
14 matches
Mail list logo