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

km’s picture

Assigned: Unassigned » km

You 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?

Uwe Hermann’s picture

Yes, 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 (?)

km’s picture

Alright, 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.

Anonymous’s picture