Fix Bug 795970 - using lowercase locales in url leads to 404
Merge pull request #1652 from kyoshino/bug-795970-lowercase-locales

Fix Bug 795970 - using lowercase locales in url leads to 404