Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

sylphx localization entries

Every sylphx localization entries command: its argument, its flags and a run line.

The entries commands of Sylphx Localization, as the CLI spells them: the same calls as the entries API page, typed for the shell. Install, sign in and the grammar are on the CLI index.

#get

Gets a catalog entry.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx localization entries get orgs/acme/projects/shop/envs/production/catalogs/catalog/entries/entry

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/catalogs/catalog/entries/entry · scope localization:read · effect read · Request, response and examples

#list

Lists catalog entries. The filter is limited to state, locale, and qa_state.

PARENT — optional: the CLI fills it from the linked project or the key's scope when it is left out.

CLI

Shell
sylphx localization entries list orgs/acme/projects/shop/envs/production/catalogs/catalog

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/catalogs/catalog/entries · scope localization:read · effect read · Request, response and examples

Flags

FlagTypeWhat it does
--page-sizeintAt most this many; default 50, clamped to 1000.
--page-tokenstringnext_page_token of the previous page.
--filterstringAIP-160 filter, limited to state, locale, and qa_state; for example state = ENTRY_STATE_ACTIVE AND locale = "ja" AND qa_state = QA_STATE_FAILED.

#pin-translation

Sets the text of one locale as a human override that AI never overwrites. QA runs on the text first; a text with a QA error is rejected with INVALID_FIELD, and the problem lists the findings.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx localization entries pin-translation orgs/acme/projects/shop/envs/production/catalogs/catalog/entries/entry

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/catalogs/catalog/entries/entry:pinTranslation · scope localization:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--localestringThe target locale. Required.
--textstringThe translated message, a Unicode MessageFormat 2 pattern. Required.

#unpin-translation

Removes the human override of one locale; the next sync may translate it again.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx localization entries unpin-translation orgs/acme/projects/shop/envs/production/catalogs/catalog/entries/entry

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/catalogs/catalog/entries/entry:unpinTranslation · scope localization:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--localestringThe target locale. Required.