fixing issues of formats with idioms different of English

@mplescano any particular reason why you want to change the buildDir to target? This probably has nothing to do with your Locale fix - may I ask that you submit this as a separate PR - best with in-line doc explaining why you're suggesting this?