Localization

Faker has support for multiple localities. The default language locale is set to English. To change the location, use the Faker.language function, take a locale as an argument to return localized data.

Faker.language("es-MX")

The supported languages are:

  • ca-CAT

  • ca da-DK

  • de-AT

  • de-CH

  • de

  • ee

  • en

  • en-au-ocker

  • en-AU

  • en-BORK

  • en-CA

  • en-GB

  • en-IND

  • en-MS

  • en-NEP

  • en-NG

  • en-NZ

  • en-PAK

  • en-SG

  • en-UG

  • en-US

  • en-ZA

  • en

  • es-MX

  • es

  • fa

  • fi-FI

  • fr-CA

  • fr-CH

  • fr

  • he

  • id

  • it

  • ja

  • ko

  • lv

  • nb-NO

  • nl

  • no

  • pl

  • pt-BR

  • pt

  • ru

  • sk

  • sv

  • tr

  • uk

  • vi

  • zh-CN

  • zh-TW

Last updated