Integrations

Figma (Strings)

Content is machine translated from English by Phrase Language AI.

Available for

  • All paid plans

Available for

  • Advanced and Enterprise plan (Legacy)

Get in touch with Sales for licensing questions.

Tip

For information about Figma integration in Phrase TMS, refer to Figma (TMS).

The Figma plugin allows design content to be integrated with Phrase projects, bridging the gap between product design and localization teams. The plugin supports content pushing, pulling translations, and managing keys between Figma and Phrase Strings.

  • Branching is supported.

  • Access to at least one project and one language with Translator user rights is required. Access can be granted by having an invitation sent by an Administrator or Project manager.

  • The plugin will send screenshots of auto-layout frames that are not child elements.

  • By default, hidden text layers are not included in the integration. This can be changed in the settings Setup_gear.png by selecting Include hidden layers or frames in selection.

  • Any changes made to the default settings Setup_gear.png of the plugin will be saved and remain persistent.

Install and Connect the Figma Plugin

To run the plugin, select it from inside Figma's plugin browser or from the Figma Community and click Try it out. The plugin will become available in the Figma Plugins menu.

The connection from Figma to Phrase can be made with either providing Phrase credentials or an access token.

When the connection is made, selecting a frame loads a preview of the Figma content and keys that users can push to or pull from Phrase Strings.

The Connect keys tab will allow connecting Figma layers to keys already existing in a Strings project. If the naming convention is the same for both the layers and the keys, they can be automatically matched.

The plugin is accessible through dedicated buttons in the Figma sidebar:

  • Phrase Strings

    Click to open the plugin.

  • View text in Strings

    Displayed in Figma files connected to a Strings project. Click to open the relevant project in the translation editor.

Push Content

The Push content to Phrase tab allows sending frames or text layers from Figma to Phrase Strings for localization.

push_content.png

Select the project, branch (if being used), and language for the content being pushed. Optionally, enter a custom tag to add to the uploaded keys.

Click the View options 3dots_icon.jpeg menu to toggle on and off the following push options as required:

  • Upload screenshots is enabled by default. It allows attaching a screenshot of the selected layers within the frame:

    • If the Include hidden layers or frames in selection setting is enabled, hidden text layers imported with the Figma plugin will have a marker placed in the top left corner of the screenshot.

    • When the Exclude sections from screenshots setting is enabled, screenshots of Figma sections will not be created.

      It is recommended to keep this option enabled in case of performance issues with the plugin while working inside sections.

  • Update content in Phrase Strings is enabled by default.

  • Update key names in Phrase Strings is enabled by default, unless the Work with key names in Figma setting is disabled.

    Toggling this option off resets all key name inputs.

The Push to Phrase button is disabled if key name inputs are empty, contain invalid characters, and are not unique. Select the Work with key names setting to edit key name inputs and resolve any naming conflicts.

If there are disconnected layers with conflicting key names, select one of the available resolution options to proceed:

  • Create key copies in Phrase Strings

    Creates new keys with -copy suffix.

  • Connect with existing keys

    Links layers to existing Phrase keys.

  • Don't push conflicting keys

    Pushes non-conflicting layers only.

Configure Key Naming

The Key naming section of the plugin settings Setup_gear.png allows setting up the naming convention for connected keys.

To customize key names in Figma, follow these steps:

  1. Click Enable smart key naming from the Key naming settings.

  2. Select Work with key names in Figma.

    Note

    If Synchronize text layer names with keys is enabled, key names are automatically generated based on text layer names.

  3. In the Key name generation field, enter text to define custom key naming:

    • Optionally, click Available macros to select one of the supported macros to generate key names automatically.

      Multiple macros can be selected to compose the key name.

    • It is possible to combine free text and macros in the Key name generation field.

      Click Examples to display and choose one of the predefined examples.

  4. If required, select a formatting option from the Formatting convention dropdown to modify text accordingly and remove spaces.

When pushing content to Phrase Strings, click the refresh refresh_icon.jpg icon to ensure the newly created naming convention is also applied to previously connected keys.

Available macros

Macro

Description

{file_name}

The name of the Figma file

{page}

The Figma page where the key is identified

{parent_section}

The highest level section in the page tree

{nearest_section}

The section closest to the text layer in the page tree

{frame}

The frame where the key is identified

{parent_group}

The highest level group in the page tree

{nearest_group}

The group closest to the text layer in the page tree

{component}

The name of the Figma component where the key is located. Only source components are considered.

{element_name}

The name of the text layer

{element_content}

The content from the text layer

{random}

A randomly generated unique short hash

Connect or Disconnect Keys

When pushing content, users can connect layers to existing keys in Phrase Strings or generate new ones.

Select the Connect keys tab to display an overview of connected and disconnected keys.

connect_keys.jpeg

Keys that are already connected are identified with a link blue_link.jpeg icon in the Key name column. If necessary, select the project, branch (if being used) and language, or click the search icon to find the desired content.

Select Connect keys to bulk connect all unlinked keys in the tab. To connect or disconnect individual keys, click the relevant icon at the right of the corresponding entry.

Note

The option to disconnect individual keys is also available in the Push content to Phrase tab.

Pull Translations

Once the translations are complete, select the Figma layers or frames to pull translations for and click on the Pull content to Figma tab.

pull_content.jpeg

Users can select the project, branch (if being used), and language for the content being pulled. Tags cannot be pulled back to Figma.

Click the View options 3dots_icon.jpeg menu to choose how to display pulled content in Figma:

  • Create a new page with translated content

    Selected by default.

  • Override text layers with translations

    The selected text layers will be overridden with the translations and updated in the viewport.

Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.