PolyglotFaker Build Status Gem Version

Gem to simplify Faker gem usage with languages using non-ascii characters.

Installation

Add

gem 'polyglot_faker'

to your Gemfile or run

gem install 'polyglot_faker'

Usage

With this gem, you can use with_locale method, so for example if you are using :ja as a locale and want to generate a valid email, you can use

Faker.with_locale(:en) { Faker::Internet.email }