Translatable types
Endpoint: https://api.youcan.shop/translations
Method: GET
Required Scopes
read-languages
Notes
- You get the content types that can be translated into a language of the store.
- In the default language, you get only
theme_content,themeandcheckout. Their texts can be changed in the default language too. themeis the wording of the classic theme and is listed when the classic theme is active. Thetheme_types are listed when the store has a theme installed.
| Type | Content |
|---|---|
product | Title, description, SEO title and description, option names and values |
category | Title, description, SEO title and description |
store | Store name, SEO title and description |
page | Title, content, SEO title and description |
menu | Menu title and link titles |
theme_content | Built-in texts of a theme |
theme_templates, theme_section_groups, theme_static_sections | Texts in the sections and blocks of a theme |
theme_settings, theme_app_embeds | Texts in the theme settings and app embeds |
theme | Wording of the classic theme |
checkout | Checkout texts |
shipping_zone | Shipping zone names |
Parameters
| Param Name | Param Type | Description | Required |
|---|---|---|---|
| locale | string | The locale of a language from the listing, for example fr | Yes |
Response
[200] Ok
json
{
"types": ["product", "category", "store", "page", "menu", "theme_content", "theme_templates", "checkout", "shipping_zone"]
}