Skip to content
exportLang.json

exportLang.json

by Huseyin AKKAYA

exportLang.json

FreeFigmaFigJam

Installs

15

Likes

0

Users

307

Views

292

Preview

exportLang.json preview

About this plugin

This Figma plugin, named exportLang, streamlines the process of extracting static texts from Figma designs and generating variable names for these texts through ChatGPT. The workflow is as follows:

Data Retrieval:

The plugin reads a JSON file, exportLang.json, where users store static texts from their Figma designs.

Variable Name Assignment:

For each static text in the JSON file, the plugin generates a unique variable name. For example, if there are three texts, the variable names might be text1, text2, and text3.ChatGPT Interaction:

Using the generated variable names and their corresponding static texts, the plugin communicates with ChatGPT. It sends prompts to ChatGPT, requesting translation of the static texts into variable names.

Response Handling:

The plugin receives responses from ChatGPT, containing suggested variable names. These responses are associated with the original static texts.

Output in JSON Format:

The final output is a JSON file containing a mapping between variable names and their respective static texts. This structured JSON output facilitates easy integration into users' Figma projects.

More import & export plugins plugins

View all