Revision: 40573
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 3, 2011 23:14 by fadehelix
Initial Code
/*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(); }
Initial URL
Initial Description
Initial Title
Drupal - dynamically Load CSS for specific language
Initial Tags
drupal
Initial Language
PHP