You’re right. The locale “string” has to be exactly as listed in the server. Add that to the differences between local and production server and you’re in confusionland.
Anyway, this is fixed. For future reference: you can use the locale -a command to list all installed locales on your webserver.