Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Any way to get this inside localizer? maybe the localizervars.module? I can put this code into my template.php, but it's not a perfect solution i think so. thank you.
ok, now i see logotool only as a workaround, while after a deeper look into the code it's not very performant. Altering the variables looks really faster and better technical solution.
Comments
Comment #1
Roberto Gerola commentedHi.
Yes, you could check in your template the value
of the global variable $locale.
Comment #2
hass commentedAny way to get this inside localizer? maybe the localizervars.module? I can put this code into my template.php, but it's not a perfect solution i think so. thank you.
Comment #3
hass commentedor localizersiteinfo.module... :-)
Comment #4
Roberto Gerola commented>but it's not a perfect solution i think
Yes. It is only a workaround.
>localizersiteinfo.module... :-)
For Drupal 4
For Drupal 5 it will go probably in a submodule for theme
settings translations.
Comment #5
hass commentedwhy not a theme settings module für 4.7.x and only for 5?
Comment #6
Roberto Gerola commentedIgnore my comment. My mistake.
I didn't remember exactly the settings options under Drupal 4 and Drupal 5.
Yes, we need s submodule for theme translation.
Comment #7
hass commentedmaybe this is solveable with http://drupal.org/project/logotool if this module will be extended with a switch logo by locale feature as requested in http://drupal.org/node/119173
Comment #8
Roberto Gerola commentedIf logo is stored as variable, I think I can make it dependent upon language.
With the new interface for variables translation, we'll be able to add
multilingual support to every interface that store its settings as variables.
Comment #9
hass commentedok, now i see logotool only as a workaround, while after a deeper look into the code it's not very performant. Altering the variables looks really faster and better technical solution.
Comment #10
hass commented