Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Variables and other languages

I would like to know if variables can have different values depending on the language. I may have overlooked it, but I don't think there is a way to accomplish it.
It would greatly enhance the value of variables, because using a variable for a tag line, for instance, makes it impossible to adjust to a different language.
Are there any negative side effects I am overlooking? If not, could it be added to the wish-list for the next release?

Erik van Linstee
Friday, March 15, 2002

It's a good feature request -- in the meantime you can set this up as follows:

* create an article for the variable. Put the actual translated text into the body of that article in each language
* define the variable as follows:

{$ foreach 1 x in (filename "whatever") $}{$ x.body $}{$ next $}

Joel Spolsky
Friday, March 15, 2002

*  Recent Topics

*  Fog Creek Home