Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale data - important for multi-language countries #803

Open
pmor opened this issue Apr 30, 2023 · 1 comment
Open

Locale data - important for multi-language countries #803

pmor opened this issue Apr 30, 2023 · 1 comment

Comments

@pmor
Copy link
Member

pmor commented Apr 30, 2023

See countries/country_select#206

@toby-brilliant
Copy link

A use case I have is that I want to use Faker to generate locale-specific data. It looks like this isn't the most standardized thing in the world, but hopefully possible? I store the country, so it'd be nice to do something like:

Faker::Config.locale = address.country.locales.first

Not the most elegant thing in the world, but I think this is a reasonable use case: given a country what are the possible locales.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants