Add localization to mail header in webgui

Issue #983 resolved
Martin Nadvornik created an issue

Hello,

I would like to suggest changing the strings that are displayed for single messages in the webgui. When viewing a mail in the webgui then there is always Subject:, From:, To:, Date:, displayed regardless of the set language. Since these strings already have localizations in the language files, it would be very easy to change this behaviour.

As far as I have seen, those strings com from webui/model/search/message.php. Those strings are then used in webui/view/theme/default/templates/message/view.tpl. So I would suggest that in the function extract_message only the real subject, from, etc. values are beeing saved. The display strings like Subject:could just be prefixed in view.tpl where we could then easily just use the localized strings.

Thanks

Martin

Comments (4)

  1. Log in to comment