Fixed case when switching language from wordpress

Fixed tests
Merge pull request #36 from Takeatea/i18n

Fixed case when switching language from wordpress