Re: Patforms...

Philipp Stucki <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
Adrian Nussbaum wrote:
> it doesn't seem like it's gonna work this way. if i set it to *.xml  its 
> just "contact_body" in the mail. nothing more... it did it for me  to 
> just adjust the master.xml.

Wildcards are not supported. i18nSrc has to be an existing file. The 
main idea is to have one master file per language. If sour site had the 
languages English and German then the corresponding master files whould 
be master_en.xml and master_de.xml.

When the i18n Transformer looks up a key it first tries 
master_{language}.xml and then master.xml if master_{language}.xml 
doesn't exist.

You got "contact_body" as the email body, because that key couldn't be 
found. Whenever the transformer doesn't find a key, it just gives it back.

On the example installation, the master file includes other languages 
files using xinclude so that's a bit more complicated. But you could 
just start from a fresh XML file and then add all your keys.

HTH
Philipp

-- 
philipp stucki . bitflux GmbH . schoeneggstrasse 5 . CH-8004 zurich
[email protected]  .  phone +41 1 240 56 70 .  fax +41 1 240 56 71
http://www.bitflux.ch
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.