---
title: "Update locale strings for a Package"
method: PUT
path: "/shop/packages/{packageId}/locale-strings/{locale}"
tags: ["Packages"]
---

# Update locale strings for a Package

`PUT /shop/packages/{packageId}/locale-strings/{locale}`

Sets the localised `name`, `description`, `meta_title` and/or `meta_description` for the given locale. Pass `null` to clear a translation and fall back to the default value.

## Request body

- object
  - `name` string, nullable — The localised name for this package in the given locale.
  - `description` string, nullable — The localised description for this package in the given locale.
  - `meta_title` string, nullable — The localised meta title for this package in the given locale.
  - `meta_description` string, nullable — The localised meta description for this package in the given locale.

## Response `200`

The locale strings for the package were successfully updated.

- object
  - `data` OfferingLocaleStrings, required — Localised strings for an offering type in a non-English locale, covering name, description, and SEO meta fields.
    - `name` string, nullable, required
    - `description` string, nullable, required
    - `meta_title` string, nullable, required
    - `meta_description` string, nullable, required

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
