Add localization support

Inspired by https://github.com/toopay/bootstrap-markdown/pull/22 (should also close it).

Cc @bierdok