AW: [ic] Variables in locale.txt

Stefan Hornburg racke at linuxia.de
Tue Dec 14 02:49:56 EST 2004


On Tue, 14 Dec 2004 08:39:30 +0100
"Lars Tode" <tode at bpanet.de> wrote:

> Hi.
> 
> > > locale.txt:
> > > code	en_US de_DE
> > > Your Team	Your __COMPANY__ Team	Euer Team von __COMPANY__
> >
> > Your %s Team	Your %s Team	Euer Team von %s
> > >
> > > variable.txt:
> > > COMPANY	Foo INC.
> > >
> > > example.html:
> > > [LOC]Your Team[/LOC]
> >
> > [L]Your Team[/L] should work, [L] is parsed first, then variables
> > and comments.
> >
> > Bye
> > 	Racke
> 
> Thanks for the hint. I tried it, but it still not work? Did I missed
> something?

Sorry. I made a mistake. The entry in locale.txt should be:

Your Team	Your __COMPANY__ TEAM	Euer Team von __COMPANY_-

> Is there something in the config that had to be set?
> 
> Current settings
> -----------------
> locale.txt:
> Your %s Team	Your %s Team	Euer Team von %s
> 
> variable.txt:
> COMPANY	Foo INC.
> 
> example.html:
> [setlocale de_DE]
> [L]Your Team[/L]<br/>
> [L]Your __COMPANY__ Team[/L]<br/>
> 
> output:
> Your Team
> Your Foo INC. Team

Ciao
	Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



More information about the interchange-users mailing list