error checking for hardcoded locale

surrounded hardcoded 'english' locale setting with try/except to
avoid issues on e.g. Linux