faker-ruby / faker

A library for generating fake data such as names, addresses, and phone numbers.
MIT License
11.28k stars 3.18k forks source link

Add phone_number.country_code and address.full_address in locale sv #2965

Closed larkro closed 5 months ago

larkro commented 5 months ago

Motivation / Background

I'm Swedish and noticed error when tested it to generate Swedish phone_number and addresses. This Pull Request has been created to correct phone_number.country_code and address.full_address in locale sv.

Additional information

locale sv phone_number.country_code should be +46, reference https://countrycode.org/sweden

sv do not have #{state_abbr} as in default locale, the format is described here https://en.wikipedia.org/wiki/Postal_codes_in_Sweden#Format

Checklist

Before submitting the PR make sure the following are checked:

If you're proposing a new generator or locale: