Translations
Read a page's translations for one locale
Returns every translatable text key of an owned page for one configured target locale: the source text the runtime translates from, the current target text, and the targetGeneration a writeback must replay.
- Sources are resolved server-side from the item value, its component-schema default, or the project default language overlay (whichever the runtime actually translates from). Client-supplied schemas or bare item ids are never trusted.
- translation: null means no row exists, or the stored one answers a source the merchant has since changed. "" is a deliberate clear.
- targetGeneration is the raw stored target value at read time (null = no row, "" = cleared). Replay it verbatim on POST.
- language.isDefault is true when the locale is the project default language; POST refuses to write it.
- Not cached: a cached generation would guarantee a stale write.
- Text only. Image translations are not exposed here; use GET /projects/{projectId}/translation-units?kind=image.
Workflow: GET this page and locale, change translation on the entries you want to write, POST them back unchanged otherwise, then GET again to confirm.
Required scope: content:read
get/projects/{projectId}/page-translations/{pageId}
Request
- Base URLhttps://studio.weaverse.io/api/v1/content
- AuthHTTP bearer
Path parameters
projectIdstring required
pageIdstring required
The page id (from GET /projects/{projectId}/pages).
Query parameters
localestring required
A configured target locale, e.g. en-us (see GET /projects/{projectId}/languages).
Response
Translatable keys with current targets and their generations
Changes
No recorded changes to this operation across all 1 revision of this API.