Right now there is no possibility to localize field names that are sent in the mail other than patching the module (lines 555 to 574 in feedback.module at cvs).
I suppose this is not a problem most of the times: We're used to read English :-) and contact mails are only sent to one address, probably the webmaster. However, at least for me, it would be great to have these strings in the l10n system.
I haven't made a patch because I don't know how to deal with white spaces and the ':' character:
- If we place only the text in t('Site name'), we will loose that alignment for sure.
- We could also put it to the whole string (t('Registered name :')), but then translators need to leave the exact number of white spaces and maybe a language needs more space.
- Another option would be to calculate it. We set the number of characters as the max number of characters of all trasnlated strings +1 and then fill with spaces until that number. But I suspect it is a little bit complicate to such a simple problem. :)
What do you think? :)
Comments
Comment #1
sunDevelopment on Feedback module v1.x has ended. Beginning from 2.x, the Feedback module has been replaced with a completely different module with a different purpose. Please note that Feedback 2.x is not compatible with 1.x. See #279636: Turn Feedback into user feedback module for further information.
There will be a final 5.x-1.1 release with all existing and tested patches in the issue queue applied. If you need the functionality of the Feedback 1.x module, the Contact module in Drupal core as well as the contributed Webform module are recommended replacements. However, there is no migration path to those modules.
Marking as won't fix.