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.
By wild18card on
Hi,
I recently started with drupal. I am a little bit confused by the t function. Should all the strings in the module I am developing be in English?
Comments
Yes if you ever plan to
Yes if you ever plan to submit the module to the community. Otherwise its your choice
I've found that it's better
I've found that it's better to do in English, even if the site language will be something else. It just ends up getting weird if it's not English.
Thanks!
Thanks!