GithubHelp home page GithubHelp logo

figma-i18n-plugin's Introduction

figma-i18n-plugin

Figma i18n Plugin

Figma plugin for i18n

빠른 시작

  1. 이 저장소를 clone 한다.

  2. npm 의존성을 설치한다.

    npm install
  3. dev script를 시작한다.

    npm run dev

Figma 에서 실행

  • figma app 실행 (web 버전 X)

  • figma menu > Plugins > Development > New plugin...

    Figma i18n Plugin

  • Link existing plugin 아래 아이콘을 클릭하여 manifest.json 파일을 선택한다.

Available commands

  • Global Language 관리:
    • figma page에서 사용할 언어를 추가/삭제/변경한다.
  • Apply all:
    • 선택한 언어로 전체 Text를 변경한다.
  • Node ID - 선택한 node의 ID를 조회한다.
  • 선택한 Node의 언어를 변경할 수 있다.
  • JSON 파일로 i18n 파일을 내보내기 할 수 있다.
  • 내보내기 한 JSON파일을 import하여 i18n 적용할 수 있다.

Development

  • npm run dev 으로 파일 변경을 감지하도록 할 수 있다. src 아래의 있는 파일을 변경하면 코드는 자동으로 컴파일 된다. 그 후에 Figma 앱에서 development plugin을 다시 실행한다. (ts만 변경 시 적용이 되지 않는다면 html을 수정하여 watcher가 작동하게 한다.)

Production build

  • npm run builddist 에 production 앱을 생성한다. 중요: 새 버전의 플러그인을 release 하기전에 반드시 build를 할 것. 빌드를 생성하기 전에 문법 오류 및 린팅 오류를 꼭 체크.

License

MIT

Made with ♥️ by Promedius

figma-i18n-plugin's People

Contributors

r-4bb1t avatar acidsound avatar

Stargazers

Ran Lee avatar Lim, Changjun avatar 황규연 avatar Aude Lagardère avatar wonkwh avatar Hyeseong Kim avatar

Watchers

 avatar  avatar

figma-i18n-plugin's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.