Posted by wbue on October 24, 2008 at 5:45am
Jump to:
| Project: | CSS Injector |
| Version: | 6.x-1.3 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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.
Comments
#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')
?>
#3
...minor title edit to clarify this a bit more.