Fix server start up errors with some locales

Fix server start up errors with some locales. The server wasn't starting due to some missing locales. Once this patch is in it worked. I'm not sure the '-' to '_' replacement is correct, but all the locales on my system had underscores. Also, traditional and simplified Chinese are different but decided to leave it be for now.