Skip to main content
Question

How does Figma manages language? Asking for plugin development.

  • March 8, 2026
  • 0 replies
  • 6 views

feliv.designer

Hi!

As a little context, I’m a graphic designer from south america. I’m currently working on a figma plugin made to export source images. However, I’m having a very specific issue.

I set up a simplified language detection feature for the plugin UI, which detects which language is prefered by the user and sets up the plugin texts to that language:

<script>
(function() {
var nav = (navigator.language || "en").toLowerCase();
window._lang = nav.startsWith("es") ? "es" : "en";
})();

After that, there are two language dictionaries at the code. I made a fallback system too:

function t(k) { return S[_lang][k] || S.en[k] || k; }

However, I cannot test it adequately with Figma Desktop, since my OS system is set up in Spanish, so even if I change Figma’s language to english it still shows up in spanish.

Currently, my only way to test it is to set up another browser to english then load Figma, but it requires me to publish a new version, which I don’t want to do, to avoid pushing a plugin version update that does not solve the problem.

Am I missing something? How does Figma manages language? Any piece of information is welcome :)

Kind regards,
Felipe​​​