[WIP][issue #83]feature has been modified to work using locale