Skip to content

Translatable types ​

Last updated View as Markdown

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, theme and checkout. Their texts can be changed in the default language too.
  • theme is the wording of the classic theme and is listed when the classic theme is active. The theme_ types are listed when the store has a theme installed.
TypeContent
productTitle, description, SEO title and description, option names and values
categoryTitle, description, SEO title and description
storeStore name, SEO title and description
pageTitle, content, SEO title and description
menuMenu title and link titles
theme_contentBuilt-in texts of a theme
theme_templates, theme_section_groups, theme_static_sectionsTexts in the sections and blocks of a theme
theme_settings, theme_app_embedsTexts in the theme settings and app embeds
themeWording of the classic theme
checkoutCheckout texts
shipping_zoneShipping zone names

Parameters ​

Param NameParam TypeDescriptionRequired
localestringThe locale of a language from the listing, for example frYes

Response ​

[200] Ok

json
{
  "types": ["product", "category", "store", "page", "menu", "theme_content", "theme_templates", "checkout", "shipping_zone"]
}