new strategy to retrieve the locale

no need to use -Dreconf.locale