Page 1 of 1

Determine locale for template use

Posted: Tue Aug 28, 2007 10:34 pm
by yellowled
Right now, Bulletproof has the following lines in its index.tpl:

Code: Select all

<html xmlns="http://www.w3.org/1999/xhtml">
<!-- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -->
While the first line is okay, the second (commented out) would be preferable, and of course users with some know-how can easily adjust it themselves. But is there any way to determine the lang variable from a .tpl file and insert it automagically?

YL

Re: Determine locale for template use

Posted: Wed Aug 29, 2007 10:53 am
by garvinhicking
Hi!

Try {$lang} ?

Regards,
Garvin

Re: Determine locale for template use

Posted: Wed Aug 29, 2007 12:22 pm
by yellowled
garvinhicking wrote:Try {$lang} ?
Will do. Thanks :)

YL