Using 'es_ES' has a strange/inconsistent behaviour with NODE_ENV

Using 'es_ES' has a strange/inconsistent behaviour when the user uses NODE_ENV as production or staging