MCPcopy Index your code
hub / github.com/NICEXAI/figma-i18n

github.com/NICEXAI/figma-i18n @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
17 symbols 28 edges 11 files 0 documented · 0% updated 3y ago★ 138
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

i18n.js

强大、智能并且简单易用的 Figma 国际化脚本

Apache License Apache License Apache License

English | 中文

💽 脚本安装

  1. 安装 Figma I18n 脚本之前请确认浏览器是否已安装脚本管理器,如果没有则点击下方链接进行安装(由于Violentmonkey有可能存在未知的兼容性问题,强烈建议安装Tampermonkey

  2. Tampermonkey(油猴,推荐👍)

  3. Violentmonkey(暴力猴)

  4. 点击下方链接,通过 GreasyFork 安装用户脚本

Figma I18n:点击我安装脚本!!!

📚 脚本特性

  • 简单易用:无需额外安装插件且支持手动进行语言切换,无需频繁关闭/启用插件
  • 多语言支持:支持英文、简体中文和日语,繁体中文以及其它语言将会逐步支持
  • 智能切换主题:操作菜单支持根据操作页面自动切换主题
  • 精准的语言转换:精准识别所有需要进行语言转换的DOM节点,解决通过字符串匹配导致翻译不准确的问题
  • 优秀的转换效率:充分复用已有节点,最大程度减少每次操作节点的次数,大幅度提高转换效率

📺 功能演示

Fiama I18n 脚本演示

Fiama I18n 脚本演示

❤️ 捐赠作者

📄 开源许可证

Apache License © 2022-PRESENT Afeyer

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 9
Interface 6
Enum 2

Languages

TypeScript100%

Modules by API surface

src/filter/index.ts6 symbols
src/translator/index.ts4 symbols
rollup.config.js3 symbols
src/types/index.ts2 symbols
src/store/index.ts1 symbols
src/locale/index.ts1 symbols

For agents

$ claude mcp add figma-i18n \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page