[ic] Variables in locale.txt
Lars Tode
tode at bpanet.de
Mon Dec 13 11:31:21 EST 2004
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__
variable.txt:
COMPANY Foo INC.
example.html:
[LOC]Your Team[/LOC]
Output for [setlocale en_US]:
Your Foo INC. Team
Output for [setlocale de_DE]:
Euer Team von Foo INC.
The pseudo code above did not work, had tried it one time :(
Has anyone a hint?
Regards,
Lars
More information about the interchange-users
mailing list