Back to Plugins
xliff-translate

xliff-translate

Export text from your Figma file to an easy-to-translate XLIFF document

xlifftranslationlocalisation

Plugin Preview

xliff-translate preview

About this plugin

You know the situation, you have spent hours placing all text in Figma, arranged everything nicely, checked it several times with the people in charge, made the last corrections and everyone is happy and satisfied? Task accomplished!
Then someone is asking for all the text you have in your Figma because it needs to be translated. Easy right?


If your translation service provider works with xliff, you now have a solution. With xliff-translate you can export all text layers to a file which then can be translated and if needed, imported again into Figma.


Features


You can choose to export a selection of layers, a page, or the entire document. __Note that the more layers you export, the longer it will take to process.__


If you have selected the entire document for export, you can decide whether to export the layers per page or all merged into the XLIFF document. Default is "merged".

Example. You have used the phrase "Hello World" on several pages. If you select the "Merge layers" option, this sentence will appear only once in the XLIFF document and will have to be translated only once. Without this option, the sentence will appear separately on each page on which it appears.


Locked and hidden layers are not exported by default.


In addition to the XLIFF document, you can also specify whether you want to export images. If this option is selected, you will receive a ZIP file containing the images and an XLIFF document. The outermost layer in which the text is located will be exported. For texts without surrounding elements on the page, no images will be exported.


Importing an XLIFF document is simple. Load it either by clicking the Import XLIFF button and selecting the file on your computer, or by dropping the file onto the Import button.

You can choose what happens if any text is not translated in the XLIFF document. Either this entry is ignored or the empty text is imported and the original text is deleted.


WARNING!!

If you have more than one text style in one text layer only the first style will be used for the imported text!

Plugin Details

Version8
CreatedJanuary 9, 2023
Last UpdatedDecember 18, 2023
CategorySoftware development
CreatorPeter Stulzer
Stats69 installs, 9 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:index.html
  • main:code.js
  • Editor Types:
    figma
  • Allowed Domains:
    • none