[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nuxeo-localizer] Localizer, DTML and gettext
From: |
Garikoitz Araolaza |
Subject: |
Re: [Nuxeo-localizer] Localizer, DTML and gettext |
Date: |
Fri, 21 Feb 2003 11:01:33 +0100 |
At 10:42 21/02/03, you wrote:
I think you're assuming Im adding my DTML Method inside the Localizer
object. I apologize, I didnt say this in the first place, but this isnt
what Im doing :(
No. I'm not assuming that. I'm still afraid you didn't create a
MessageCatalog instance.
Just try it creating your folder this way: ( meta_type in brackets )
MyFolder (Folder)
Localizer (Localizer)
gettext (MessageCatalog)
index_html (DTML Method)
Just for the first try, don't put anything inside the Localizer and
MessageCatalog instance. Just add the languages you need in the managing
screens inside.
Then, just write in your index_html method:
<dtml-var "gettext("This is the text that I want to localize")">
and render the method.
You just need to do <dtml-with Localizer> so that you get the
changeLanguageForm automagically.
It should work fine!
_______________________________________
Garikoitz Araolaza
Code&Syntax
address@hidden
BIC-Berrilan
Azitaingo Industrialdea
E-20600-EIBAR
Tel: +34 943 82 06 06
- [Nuxeo-localizer] Localizer, DTML and gettext, Andy McKay, 2003/02/20
- Re: [Nuxeo-localizer] Localizer, DTML and gettext, Joachim Werner, 2003/02/20
- Re: [Nuxeo-localizer] Localizer, DTML and gettext, Andy McKay, 2003/02/20
- Re: [Nuxeo-localizer] Localizer, DTML and gettext, Garikoitz Araolaza, 2003/02/21
- Re: [Nuxeo-localizer] Localizer, DTML and gettext, Andy McKay, 2003/02/21
- Re: [Nuxeo-localizer] Localizer, DTML and gettext,
Garikoitz Araolaza <=
- Re: [Nuxeo-localizer] Localizer, DTML and gettext, Andy McKay, 2003/02/21
- Re: [Nuxeo-localizer] Localizer, DTML and gettext, Andy McKay, 2003/02/23