Active
Project:
CSS Injector
Version:
6.x-1.3
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2008 at 05:45 UTC
Updated:
31 Dec 2020 at 10:12 UTC
Jump to comment: Most recent
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
Comment #1
pepe roni commentedSorry, the correct reference must read #157698: Problem using wildcard for i18n Language Theme.
Comment #2
pasqualleThis 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:
Comment #3
klonos...minor title edit to clarify this a bit more.
Comment #4
stijnbousard commentedThanks, Pasqualle, #2 works for me (on my Drupal 7 site).