hello,

I have a multilingual site in D7.18 and I try to make a mod in the page.tpl.php template (I have no choice) : I need to set a condition on the language of the page.

My theme is derived from Zen.

for my if () condition, I need to know the name of this variable to use it as a criteria

Comments

<?php
global $language;
$language_key = $language->language;
?>

$language_key will be the language key for the current language (eg: 'en', 'ja', 'ar' etc).

Jaypan
Our newest Drupal site: PacificAikido.com (Drupal showcase)