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 nodeprofile.module the names of the doctypes which are nodeprofile-nodes are used as labels of the tabs in the profile submenu. Therefore they should be translatable if several languages are enabled on a site.
This patch makes them translatable.
Comment | File | Size | Author |
---|---|---|---|
nodeprofile_trans_name.patch | 560 bytes | smitty |
Comments
Comment #1
fagoAccording to the translation guidelines user input should't be run through t(). However I'm not sure how we should make this translatable though. Perhaps you can elaborate on that.
Comment #2
smitty CreditAttribution: smitty commentedIn the meantime I have learned that the i18n module (http://drupal.org/project/i18n) should do that job. But first I have no experience with that and secondly it seems a little oversized to me.