Make names of doctypes translatable

smitty - December 2, 2008 - 17:58
Project:Node Profile
Version:5.x-1.4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

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.

AttachmentSize
nodeprofile_trans_name.patch560 bytes

#1

fago - January 9, 2009 - 15:44
Status:needs review» needs work

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

smitty - January 15, 2009 - 13:30

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.

 
 

Drupal is a registered trademark of Dries Buytaert.