Only reset and return early from switchLocale if locale is nil

Right you are, it's a much simpler solution now.

I took the liberty of adding my name.
Merge pull request #2 from TomK32/master

second attempt, much easier solution.