Skip to content
On this page

Workspaces

A workspace is a copy of a project for changes you merge back later: the texts of a feature branch in your code, or a translation done by people outside your team. It has a project ID of its own, the parent project's API key works for it too, and it inherits the values of its parent project. Workspaces are on unless switched off in the project's settings; a tenant has none.

Workspaces used to be called branches. The API and the CLI still accept the old branch names for now: what moved in Locize v3.

What a workspace holds

A workspace starts from one version of the parent project, with all its languages and namespaces or only some of them. It shows the parent project's values plus what was changed in the workspace; the editor marks a changed value as overridden. Later changes to the parent's structure do not reach it: languages the parent adds, renames or removes, namespaces it renames or deletes, and a new source language. Merge a workspace before such a change; merged afterwards, it writes its changes under the old code or name.

Deleted keys: a workspace cannot remove a key of the parent project. Deleting a key there, in the editor, through the API or with locize sync, leaves a delete marker in each language: the key is gone from the workspace's editor, exports and files, while the parent project keeps it until the merge. A key added again in the source language clears the markers of the other languages, so the parent project's translations show again.

People: a new workspace starts with the members of the organization, not with the people invited directly to the parent project. Someone you invite only to the workspace does not see the parent project.

Creating and deleting a workspace needs the admin or manager role; a manager restricted to some versions creates workspaces only from those.

Merging back

There are two ways back into the parent project. Both count the changes as modifications, and they treat deleted keys differently:

  • Merge back in the editor works like copying between versions (overwrite or copy): the changes wait unsaved in the parent project's editor for you to review. It adds and updates keys; it deletes the keys the workspace deleted only with Delete if not in source, in expert mode.
  • locize merge-workspace (CLI) and merge_workspace (MCP server) merge on the server in one step: added, changed and deleted keys. The marks of a value, such as needs review or the AI quality, travel with it; languages the parent project lacks are added; the parent project's history shows the values as merged from the workspace. On a key changed in both since the workspace was created, the workspace's value wins without a conflict check; to review such keys, merge back in the editor.

The workspace stays after the merge unless you delete it (--delete true in the CLI, deleteWorkspace in the MCP server).

Publishing

A workspace publishes under its own project ID: your app or your CI loads it with the workspace's ID instead of the parent project's. Its files hold the parent project's values with the workspace's changes.

A new workspace takes over its version's settings for automatic publishing, private publishing and cache time; you can change them in the workspace afterwards. The CDN type is always the parent project's. If the version publishes manually, the workspace's CDN holds nothing until you publish it, which also matters for locize sync.

With private publishing, the texts of a feature that is not released yet need an API key to download.

Translators in a workspace

To have translators outside your team work without access to the parent project, invite them only to a workspace. You review their work when you merge it back in the editor. To order translations from a partner instead: ordering translations; orders are placed on the parent project.

Versions or workspaces?

  • A version is a stage or a release your app loads, such as production or 2.0. It lives in the same project, has the same people, and usually lasts.
  • A workspace is a separate place for changes that go back into the parent project, such as a feature branch or a translation job. It has its own ID and people, and you delete it once it is merged.

How many workspaces your plan includes: pricing.