Back to Medusa

UpdateLocaleDTO

www/apps/resources/references/translation/interfaces/translation.UpdateLocaleDTO/page.mdx

2.14.2794 B
Original Source

import { TypeList } from "docs-ui"

UpdateLocaleDTO

The attributes to update in the locale.

<TypeList types={[{"name":"id","type":"string","description":"The ID of the locale to update.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"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="UpdateLocaleDTO"/>