Posted by smitty on December 2, 2008 at 5:58pm
Jump to:
| Project: | Node Profile |
| Version: | 5.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
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.
| Attachment | Size |
|---|---|
| nodeprofile_trans_name.patch | 560 bytes |
Comments
#1
According 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.
#2
In 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.