[ic] Variables in locale.txt

Stefan Hornburg racke at linuxia.de
Mon Dec 13 15:11:12 EST 2004


On Mon, 13 Dec 2004 17:31:21 +0100
"Lars Tode" <tode at bpanet.de> wrote:

> Hi list.
> 
> I want to use variables in the locale.txt that are configured in the
> catalog.cfg or variable.txt.
> 
> For example here a locale.txt, variable.txt and the ouput that should be
> generated.
> 
> 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


-- 
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