Ops platform / ops CLI
Translations
Pull a project's composed translations into the locale files you commit.
ops tms pull da --project rungholt
ops tms pull en --project rungholt --bundle web -o i18n/locales
Writes one locale's composed tree to <dir>/<locale>.json, where the directory is
locales unless -o names another. The composed tree is your project's own translations
with the shared bundles and the package bundles it uses, and your overrides applied.
--bundle picks which of the project's own bundles it starts from; the default is the one
named like the project.
The file is ordered and two space indented, so a pull you commit shows only what changed.
One shared bundle
ops tms pull da --platform rungholt/web
--platform <home>/<bundle> pulls one bundle as it is, from the project it lives in,
without composing anything. That needs a token that reaches the bundle's own project; for
your own project's translations use --project.