French (Canada)
French (Canada) is one of the many supported locales in Faker. It uses the language code fr_CA and is available as fakerFR_CA.
Language data
| Key | Value |
|---|---|
| Name | French (Canada) |
| Local Name | Français (Canada) |
| Language | fr |
| Script | Latn |
| Direction | ltr |
Usage
A few commonly localized methods are shown below. Reload this page to see more random examples. Not all methods are localized in all locales.
ts
import { fakerFR_CA } from '@faker-js/faker';
// const { fakerFR_CA } = require('@faker-js/faker'); // CJS
// Commonly localized methods:
fakerFR_CA.person.fullName();
fakerFR_CA.location.streetAddress();
fakerFR_CA.location.city();
fakerFR_CA.location.state();
fakerFR_CA.location.zipCode();
fakerFR_CA.phone.number();
fakerFR_CA.commerce.productName();
fakerFR_CA.internet.email();
fakerFR_CA.internet.url();
fakerFR_CA.date.month();
fakerFR_CA.date.weekday();
fakerFR_CA.word.noun();
fakerFR_CA.word.verb();
fakerFR_CA.company.name();
// Non-localized methods work as normal:
fakerFR_CA.number.int();