hi is there a way to use node-rtl.tpl.php instead of node.tpl.php (and other templates)

is there a snipped to check language and include other tpls?

like if language - include file-rtl.tpl.php....

greets

Lausch

Comments

asak’s picture

Is there? ;)

Lausch’s picture

Priority: Critical » Normal
Status: Active » Fixed

i found a solution while use sections and garland rtl

regards

Lausch

Lausch’s picture

Status: Fixed » Closed (fixed)
asak’s picture

I found the solution by using different themes for different languages.
Added "theme_default" to the variables list in settings.php, then selected the -rtl ver. as Hebrew default and the -ltr ver. for English.
Then all .tpl files are separated.
This is actually very useful for theming CCK fields as well...