Skip to content

languages pull

Downloads the list of used languages from a Storyblok space, recursively creates a folder structure, and saves the data to a local directory. The list includes the default language and the language code, display name, and AI translation code for each language.

Terminal window
storyblok languages pull [flags]
Flag Type Description
--space integer Required. The ID of the Storyblok space to pull languages from.
--filename, -f string Optional. Specify a custom filename. Defaults to languages.json.
--suffix, -su string Optional. Specify a custom suffix for language files.
--path, -p string Optional. Specify a custom path for language files. Defaults to .storyblok/languages/<space-id>.

The following examples assume that a space has been defined in a configuration file.

Terminal window
# Pull languages from a space
storyblok languages pull
# Pull languages from a space, saving with a custom filename
storyblok languages pull --filename my-languages

Was this page helpful?

What went wrong?

This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.