Support for localization with localized strings {lang:

Code stolen from @3DROPS fork (which is somewhat broken, but this feature works).