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.
In the .install, strings were passed through t(), however localization services appear to not be available during installation processes, so we use st() instead.
In the .module, t()'s were added in a few places.
Comment | File | Size | Author |
---|---|---|---|
#1 | legal_install_i18n.patch | 1.01 KB | stella |
#1 | legal_module_i18n.patch | 2.38 KB | stella |
legal_module_i18n.patch | 20.45 KB | hailu | |
legal_install_i18n.patch | 1.98 KB | hailu | |
Comments
Comment #1
stella CreditAttribution: stella commentedRe-rolled the patches with a couple of tweaks.
Cheers,
Stella
Comment #2
catchBoth patches look great, and apply cleanly, so RTBC.
Comment #3
alexandreracine CreditAttribution: alexandreracine commentedDoes this work? Should the patch be commited? Is it already commited?
Comment #4
xibun CreditAttribution: xibun commented+1
Comment #5
prodosh CreditAttribution: prodosh commentedCan't translate the text in the "terms and conditions" box. Using Patch #1.
Am using Beta4. Should I be using HEAD?
Comment #6
recidive CreditAttribution: recidive commentedI've commited legal_module_i18n.patch in #1 and removed the messages output in hook_install() so no need for the legal_install_i18n.patch.
Thanks!