Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: StijnBousard commentedThanks, Pasqualle, #2 works for me (on my Drupal 7 site).