Determine locale for template use
Posted: Tue Aug 28, 2007 10:34 pm
Right now, Bulletproof has the following lines in its index.tpl:
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
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -->YL