# Setting-up faker locale?

**URL:** <https://community.postman.com/t/setting-up-faker-locale/26078>\
**Category:** Help Hub\
**Created:** [July 22, 2021, 5:54pm UTC](https://community.postman.com/t/setting-up-faker-locale/26078 "2021-07-22T17:54:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![neilstudd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/neilstudd/32/8213_2.png) [@neilstudd](https://community.postman.com/u/neilstudd)\
**Post date:** [July 22, 2021, 7:35pm UTC](https://community.postman.com/t/setting-up-faker-locale/26078/2 "2021-07-22T19:35:32Z")

</div>

Hi @PsNizza,

Although you can’t override the locale in Postman’s built-in version of Faker, it’s possible to manually re-inject Faker via script, and specify the locale you wish to use. Try the solution from the post below, and see if this helps you:

> [@How we can use faker in Postman v 7.2](https://community.postman.com/t/how-we-can-use-faker-in-postman-v-7-2/5916/9):
>
> Hello there Christian, This is what worked for me to get the faker locale working in the test script: window = {}; pm.sendRequest("https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.min.js", (error, response) =\> { var text = response.text(); (new Function(text))(); window.faker.locale = "de"; var name = window.faker.name.findName(); console.log(name); pm.globals.set("name", name); })

---

_[View the full topic](https://community.postman.com/t/setting-up-faker-locale/26078)._
