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.
Hi! Drupal7 does not support multilingual variables in the settings.php anymore. As far is I could find out this was the way to translate the Lightbox2 Textsettings in D6.
In D7 hook_variable_info() needs to be implemented in modules to provide translateable variables.
I attached a patch to add this hook. Maybe it helps somebody.
As this is my first patch on d.o feedback is highly appreciated (even if the patch itself is technically not very sophisticated :))
Comment | File | Size | Author |
---|---|---|---|
7.x-1.x-implement_variable_info.patch | 1.8 KB | Nebel54 |