detectedLocale can be undefined
Fixing rendering test, partially