CLI reference
norcube langsync terms add
Add a new mark to a namespace
Not verified yet
Creates a new mark in the named namespace and, optionally, the value for the namespace's default language. With --auto-translate, the backend will try to fill in every other configured language using your AI translation provider.
The positional source string and --namespace are both optional in interactive shells — pickers/prompts fill in anything that's missing. In scripts and pipes (stdin not a terminal), both must be passed explicitly or the command errors out before touching the network.
Usage
norcube langsync terms add ["<source string>"] [flags]Examples
norcube langsync terms add --namespace web "Save changes"
norcube langsync terms add --namespace web "Email" --context "form label" --default-value "E-mail"
norcube langsync terms add --namespace web "Welcome" --default-value "Welcome" --auto-translateFlags
| Flag | Default | Description |
|---|---|---|
--auto-translate | Ask the backend to AI-translate the mark into every other configured language | |
--context | Free-form context note for translators (e.g. "form label", "button on signup page") | |
--default-value | Value for the namespace's default language (often identical to the mark itself) | |
-n, --namespace | Namespace name (the URL slug); picker opens when omitted and stdin is a TTY |
Every command also takes the global flags: --profile, --org, -o, --query, --debug and more.
See also
norcube langsync terms: Manage terms (source strings) inside a namespace