/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/*template.php*/ function mytheme_preprocess_page(&$vars, $hook) { /*Add language specific css files*/ $lang_css_path = path_to_theme().'/css/style_'.i18n_get_lang().'.css'; drupal_add_css( $lang_css_path, 'theme', 'all', FALSE); $vars['styles'] = drupal_get_css(); }
Comments
