Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi people.
I suggest use t function in text for translate string in Drupal.
Please check:
Comment | File | Size | Author |
---|---|---|---|
#4 | evidence.png | 64.94 KB | Algarte |
#2 | please_use_t_function-2884663-2.patch | 3 KB | renatog |
Comments
Comment #2
renatogIn attachment the patch with fix.
Thank you very much.
Regards.
Comment #3
renatogComment #4
Algarte CreditAttribution: Algarte commentedI've applied the patch #2 on a clean drupal environment and it is working fine for me. I've also ran coder with DrupalPractice and found no other warnings related to translation.
See image below with a screenshot of the module applied to a node, with changes made on the configuration to page to test its functionality.