Summary
The faker strategy uses the Bogus library hardcoded to English locale (new Faker("en")). There is no way to generate locale-appropriate fake data such as Spanish names, German addresses, or French phone numbers.
Current Limitation
FakerStrategy.cs line 13:
private static readonly Faker _faker = new("en");
Proposed Approach
Add a global and per-table locale config:
sanitize:
faker_locale: "es" # global default, e.g. "es", "de", "fr", "pt_BR"
- table: "users"
faker_locale: "de" # table-level override
columns:
- name: "first_name"
strategy: "faker"
faker: "first_name"
Bogus supports ~60 locales. The locale string should be validated against supported Bogus locales during validate.
Acceptance Criteria
Summary
The
fakerstrategy uses the Bogus library hardcoded to English locale (new Faker("en")). There is no way to generate locale-appropriate fake data such as Spanish names, German addresses, or French phone numbers.Current Limitation
FakerStrategy.csline 13:Proposed Approach
Add a global and per-table locale config:
Bogus supports ~60 locales. The locale string should be validated against supported Bogus locales during
validate.Acceptance Criteria
faker_localeis configurable at the top-levelsanitizeblockfaker_localeoverrides the global value"en"when not setvalidatechecks the locale string against supported Bogus locales