Manage copy with unique keys

Frontitude lets you assign unique identifiers to copy, called Unique keys. You can use these keys to change copy without having to send the new value to developers or translators.

For this to be effective, developers and others must also work with keys. In practice, this means they should keep copy in a separate file in their codebase (mostly JSON for web; other technologies use different formats). If they don't use keys, that's fine. You can assign keys to your copy, and once they have a proper setup in place, you can integrate with it.

Working with unique keys in Frontitude

Assign copy with a unique key

💡 Copy with a unique key assigned can be included in the JSON export. Learn more about it at Export project as JSON.

In Figma

  1. Open Frontitude's plugin.
  2. Select any text element in Figma that is uploaded to Frontitude.
  3. Open the plugin's Edit tab.
  4. Click + Assign a unique key.
  5. Enter a unique key and click Set key.

Assign copy with unique key in Figma
Assign copy with unique key in Figma

In Frontitude's web app

  1. Open Frontitude's web app.
  2. Select the project and copy you’d like to edit.
  3. In the Editing panel, expand the Metadata section.
  4. Enter a unique key and click Set key.

Assign copy with unique keys in Frontitude's web app
Assign copy with unique keys in Frontitude's web app

Find copy by unique key

To find copy by its unique key value, do the following:

  1. Open the relevant project in Frontitude's web app.
  2. Switch to List View using the switch at the top of the screen.
  3. In the search section, click Search by value and select Search by key from the dropdown menu. If you don’t see it, you don't have any unique keys in this project.
  4. Use the search input to enter the unique key you’d like to search for.
  5. In the results section, you’ll see the matching copy items highlighted by their unique keys.

Find copy by the unique key value
Find copy by the unique key value

Filter copy with or without keys assigned

When you want to assign unique keys to your copy, it helps to filter texts that don’t yet have a key:

  1. Open the project in Frontitude's web app.
  2. Switch to List View using the switch at the top of the screen.
  3. In the search section, click Filter: Copy with or without key. If you can't see it, you don't have any unique keys in this project. Then select:
  • Copy without key - Shows only copy without a unique key.
  • Copy with key - Shows only copy with a unique key.
  • Copy with or without key - Shows all copy, with or without a unique key.

Filter copy with or without unique keys
Filter copy with or without unique keys

Attach texts to components

Using unique keys, you can attach texts to components.

When a newly set unique key of a regular text or a copy component instance already assigned to another component, a popup will appear with the option to attach the selected text to that component. It can be a quick way to attach text instances to components.

Merge copy components

💡 You can only merge copy components using a unique key update from the main component in the copy library.

If you set a copy component with a unique key that's already used by another component, you'll be asked if you want to merge the selected component with the other one. This means all instances of the selected component will move to the other component.

If the other component has different text, all the moved instances will change to match it.

Copied!