fix globalization warnings
use current culture for error messages
Merge branch 'fix_globalization_warnings'