Yes, and testing, too. To test this piece of code we would actually have to find a way to call two pages in different languages *within the same thread*. Because the issue only manifests itself there.