city does not return localized city name #983
Labels
c: locale
Permutes locale definitions
good first issue
Good for newcomers
has workaround
Workaround provided or linked
p: 1-normal
Nothing urgent
s: accepted
Accepted feature / Confirmed bug
Milestone
Describe the bug
has set localized value to "en_CA" and i want city to return based on canada, to be more precise i would love to have city return based on province i have choosen.
Currently i am getting province from canada but city is returning USA cities.
Reproduction
import { faker } from "@faker-js/faker";
faker.setLocale("en_CA");
const province = faker.address.state(); //this gives canadian province
const city = faker.address.cityName(); //but this does not give canadian cities
console.log(province);
console.log(city);
Additional Info
No response
The text was updated successfully, but these errors were encountered: