Fixes and enhances Locale.string_to_unit