GPII-490: Handling the region code when setting the language

When the region code is being specified we have to create the locale in a different way.