CLI reference

norcube langsync translations suggest

Ask AI for a translation of a term (and optionally save it)

Not verified yet

Asks AI translation for the term's text in the language and prints the suggestion. Nothing is stored unless --save is set; a saved suggestion keeps its AI label. Each suggestion counts toward the organization's AI translation usage.

The suggestion uses the namespace's default prompt unless --prompt names another, and translates from the namespace's default language unless --from names another attached language.

Usage

norcube langsync translations suggest <termId> <language> [flags]

Examples

norcube langsync translations suggest 1234 cs --namespace web
norcube langsync translations suggest 1234 de -n web --from en --save
norcube langsync translations suggest 1234 fr -n web --prompt 5f0c2a9e-1d2b-4c3d-8e9f-0a1b2c3d4e5f -o text

Flags

FlagDefaultDescription
--fromSource language code or id (default: the namespace's default language)
-n, --namespaceNamespace name; picker opens when omitted and stdin is a TTY
--promptCustom prompt id to use instead of the namespace's default (see norcube langsync prompts list)
--saveStore the suggestion as the translation, with its AI label

Every command also takes the global flags: --profile, --org, -o, --query, --debug and more.

See also

On this page