Get Instant Site text labels
GET
https://vuega.ecwid.com/api/v1/{storeId}/translation
Required access scopes
Your app must have the following access scopes to make this request: manage_instant_site
Path params
All path params are required.
storeId
number
Ecwid store ID.
Headers
The Authorization header is required.
Authorization
string
Token for Instant Site API calls. Get token
Requires a token with grant_type=authorization_code
type.
Response JSON
A JSON object with the following fields:
editorTranslations
object editorTranslations
Map of text labels for the store Editor texts where the "key" is the label, and "value" is the text value. For example, "Section.SEO.ChangeSeoSettings.button": "Change SEO Settings"
.
websiteTranslations
object websiteTranslations
Map of text labels for the store Editor texts where the "key" is the label, and "value" is the text value. For example, "Pricing.NameYourPrice": "Free or your own price"
.
languageTranslations
object languageTranslations
Map of language codes for languages enabled in the store and their name translations where the "key" is the language two-digit ISO code, and "value" is the object that maps language code and name translation. Find a code example below.
languageTranslations
"languageTranslations": {
"en": {
"Language.en": "English",
"Language.cs": "Czech"
},
"cs": {
"Language.en": "Angličtina",
"Language.cs": "Čeština"
}
}
Last updated
Was this helpful?