Submission guidelines not translateable

Created on 24 June 2011, over 13 years ago
Updated 21 January 2023, almost 2 years ago

I just noticed: "Form submission guidelines" in a form block always appear in the sites default language.
(on the stand alone form, translation works fine).

FIeld labels translate just fine.

Looking into it, if I find it I'll post back here

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇧🇪Belgium rv0

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada joseph.olstad

    To fix this would have to check module_exists for entity_translation and module_exists for the tid approach to translation and then check to see which version of translation is being used by the node then load the translated node through tid if it's the tid approach or load the entity translation by the current interface language if it's the entity_translation approach just prior to the "['content']['help'] code in function formblock_get_block($type)

    this way you'd not have to use the t function at all.

Production build 0.71.5 2024