Adding multi-locale support. Fixes #6.
Added testing for backward compatibility.