used a modified patch made by @vslinko - see #109
update specs for i18n support
more flexible regexp for detecting language