> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://contentful.com/developers/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://contentful.com/developers/docs/_mcp/server.

## Retrieve localized entries

You can specify a locale for entries using the `locale` URI query parameter.

The locale parameter must be the code of a locale in the space you're querying, or the wildcard value `*`. If you don't specify a locale, the default locale of the space is used.

If there's no content available for the requested locale the API will try the fallback locale of the requested locale.

For example you have the `de-CH` (Swiss German) locale and configure it to fallback to `de-DE` (German). When you request content for `de-CH` any missing field in that locale will be replace with its fallback value in `de-DE` (if they exist). For more information about locale fallbacks read [the locale section of the CMA docs](/references/content-management-api/overview).

When you specify `locale=*`, field values are nested in an object with keys corresponding to each locale with a defined value. Instead of writing `fields.productName` when accessing the response data from your code, use `fields.productName[localeCode]`.

If the result contains only a single locale, resources will include the property `sys.locale` indicating the locale of that object.

Learn more about locales in our [Help Center](https://www.contentful.com/help/localization/).

Use the [Get all entries of a Space](/references/content-preview-api/entries/get-all-entries) endpoint, see example:

```
/spaces/yadj1kx9rmg0/environments/staging/entries/5KsDBWseXY6QegucYAoacS?access_token=f0aa56e3659d58947f8e3ddd6301c9591c9b73a8b54c35435233b18b3e6752d5&locale=en-US
```

`fields.productName` is the only localized field in the `product` content type, so returns all other fields in the default locale.