set locales only if some are configured (fix #73)