Add initial support for i18n.
Merge pull request #557 from GreatFruitOmsk/i18n

Add initial support for i18n.