Closed (fixed)
Project:
Printer, email and PDF versions
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 Jan 2005 at 14:05 UTC
Updated:
11 Feb 2005 at 15:15 UTC
The "Source URL:" string in print.tpl.php should probably come from the module and not be hardcoded in the tpl.php file, to allow the site-admin to have different strings there for different languages...
Or is there any other possibility to easily translate this string?
TIA, Uwe.
Comments
Comment #1
km commentedYou can easily change the print.tpl.php.
I think its simple and sufficient to change the print.tpl.php.
Another solution would be to make all strings in print.tpl.php translatable.
Maybe this is a question of where information should be stored?
Comment #2
Uwe Hermann commentedYes, you can easily change print.tpl.php, but that way you can only have one language. E.g. some users might want the english version and some others might want another language for the strings. Using t('Source URL:') instead of hard-coding 'Source URL:' should fix this.
I'm not quite sure though if you can use t() in the print.tpl.php file or if you have to use the print.module file for this (?)
Comment #3
km commentedAlright, changed all strings in print.tpl.php to be translatable.
See http://cvs.drupal.org/viewcvs/drupal/contributions/modules/print/ for the last version if it was not packaged already.
Comment #4
(not verified) commented