A Sketch plugin for easy multi-language design
- Change your symbol instance name with prefix o_
- Override symbol instance content
- Download
Translation.sketchplugin.zip
and extract to getTranslation.sketchplugin
file. - Put
Translation.sketchplugin
in Sketch Plugins folder.
Or use Sketchpacks to install and update:
Use Generate language file
action -> Edit and save the .json
file -> Use Translate
action.
-
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.
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
Let's buy me some ☕ and 🍕
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.