Back to Medusa

LocaleDTO

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

2.14.21.3 KB
Original Source

import { TypeList } from "docs-ui"

LocaleDTO

The locale details.

<TypeList types={[{"name":"id","type":"string","description":"The ID of the locale.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"string","description":"The BCP 47 language tag code of the locale (e.g., "en-US", "fr-FR").","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"string","description":"The human-readable name of the locale (e.g., "English (United States)").","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"string \| Date","description":"The date and time the locale was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"string \| Date","description":"The date and time the locale was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"null \| string \| Date","description":"The date and time the locale was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="LocaleDTO"/>