# Get locales list from builder settings in nextjs

**URL:** <https://forum.builder.io/t/get-locales-list-from-builder-settings-in-nextjs/4797>\
**Category:** Technical Questions\
**Tags:** nextjs\
**Created:** [January 16, 2024, 12:37pm UTC](https://forum.builder.io/t/get-locales-list-from-builder-settings-in-nextjs/4797 "2024-01-16T12:37:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zbigniew.stepniewski](https://avatars.discourse-cdn.com/v4/letter/z/9de0a6/32.png) [@zbigniew.stepniewski](https://forum.builder.io/u/zbigniew.stepniewski)\
**Post date:** [January 16, 2024, 12:37pm UTC](https://forum.builder.io/t/get-locales-list-from-builder-settings-in-nextjs/4797/1 "2024-01-16T12:37:02Z")

</div>

Hi,

How to get in the nextjs a list of locales from builder settings?  
I want to create a choose language dropdown component showing all the locales.  
The user should be able to add a new locale in the settings, which automatically appears in the language dropdown without any change in the nextjs code. Is it possible?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/5/5455a8e4ebc8db9d2cbdec65d462b52082b67035.png)

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [January 16, 2024, 2:51pm UTC](https://forum.builder.io/t/get-locales-list-from-builder-settings-in-nextjs/4797/2 "2024-01-16T14:51:47Z")

</div>

Hello @zbigniew.stepniewski,

You may find help at the below forum post

> [@Localization with Next.js](https://forum.builder.io/t/localization-with-next-js/3299):
>
> Localizing your Next.js App This walkthrough starts from the [next-js-simple](https://github.com/BuilderIO/builder/tree/main/examples/next-js-simple) starter. Add the i18n config to your next.config.js file. We’ll use sub-path routing in this example. // next.config.js module.exports = { i18n: { locales: ['en', 'fr', 'de'], defaultLocale: 'en', } } // With this configuration if you have a pages/blog.js it will // route to /blog, /fr/blog, and /de/blog Now you should be able to access locale in the context of getStaticProps and pass it to options in y…
