fixes #2942 - plugin i18n support

This is first phase of plugins i18n support. More to come later:

 * Extraction from model classes
 * JavaScript extraction and support