A Sketch plugin for easy multi-language design
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit a15d2d3 Apr 13, 2017

README.md

Language-Sketch-Plugin

A Sketch plugin for easy multi-language design

Install

  • Download Translation.sketchplugin.zip and extract to get Translation.sketchplugin file.
  • Put Translation.sketchplugin in Sketch Plugins folder.

Or use Sketchpacks to install and update:

Install PLUGIN NAME with Sketchpacks

Usage

Use Generate language file action -> Edit and save the .json file -> Use Translate action.

Action Generate language file:

  • Change your text layer name you want to generate with prefix o_

  • In Sketch: Plugins -> Translation -> Generate language file -> Add your language keys with format: key1,key2,...,keyn

  • You can open the .json file in any Text Editor to edit. The .json file is located in the same folder with the .sketch file.

Action Translate:

  • In Sketch: Plugins > Translation -> Translate -> choose the language key

Action Add to language file:

After generating language file, if you want to add some more text:

  • Select all text layer you want to add

  • Change your text layers name you want to add with prefix o_

  • In Sketch : Plugins -> Translation -> Add to language file

Donation

Let's buy me some ☕ and 🍕

License

Copyright 2017 Hoai Nguyen

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.