---
displayed_sidebar: translationReference
---

import { TypeList } from "docs-ui"

# UpdateLocaleDataDTO

The data to update in the locale.

<TypeList types={[{"name":"code","type":"`string`","description":"The BCP 47 language tag code of the locale.","optional":true,"defaultValue":"","example":"\"en-US\"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The human-readable name of the locale.","optional":true,"defaultValue":"","example":"\"English (United States)\"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="UpdateLocaleDataDTO"/>
