Added compatibility with Polylang.
Merge pull request #2 from andreasmoegelmose/master

Added compatibility with Polylang.