Download & Extend

Change order of theme calls in Drupal 5 to expose translations to i18n_client (DIY patch for Drupal 5)

Project:Localization client
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

From Gabor:

l10n_client uses hook_footer() which is the last time we can add output to the theme, but unfortunately Drupal 5 does not fill in this variable last when building the variable list for phptemplate themes. In fact it builds it quite early, as "theme_closure" does the code building and "closure" is early in the alphabet. Heh. We fixed this in Drupal 6 core quite some time ago, but [...] the l10n_client patch for Drupal 5 should probably include a change to move the theme('closure') call in phptemplate.engine down the list.

"In the meantime, you can do it yourself, and move the theme('closure') to be the last list item in the code, you will see."

Comments

#1

Status:active» closed (won't fix)

Drupal 5 is nearing end-of-life so we are not working on the D5 version of this module anymore.

nobody click here