CSS Injector does not support language prefix (i18n-Module)
druppi - October 24, 2008 - 05:45
| Project: | CSS Injector |
| Version: | 6.x-1.3 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
i18n-Module is installed and language prefixes are set for each language.
I want to add language dependent css using CSS Injector (wonderful module). But when I add "en/*" (without the quotation marks, of course) to the "Pages" field, nothing happens. It seems to be a similar bug as described in #157698.

#1
Sorry, the correct reference must read #157698: Problem using wildcard for i18n Language Theme.
#2
This is not a bug, this does not work in D6 core either. The language prefix is not considered as part of the path.
but, you can use this php code:
<?phpglobal $language;
return ($language->language == 'en')
?>