With the Crowdin plugin for Sketch, you can use texts from Crowdin Enterprise in your designs to save time for both designers and developers. 这些文件可包括原文或翻译文本。 如有必要,您可以添加新的内容(例如对话框标题、按钮标签)并将其发送给 Crowdin 企业版中的翻译员。
You can download the latest release from our GitHub repository.
Crowdin plugin for Sketch can also be installed with Sketch Runner.
To specify your Crowdin Enterprise credentials in Sketch, follow these steps:
要在 Crowdin 企业版中生成新的令牌,请遵循以下步骤:
To select the project you’d like to work with, click the Select Project drop-down menu in Settings, and select a project from the list. 稍后,您可以在需要时使用同一下拉菜单切换到另一个项目。 Additionally, you can select the specific branch your content will be uploaded to.
Use the Strings tab when localizing UI and working on dynamic pages with your development and marketing teams. In this tab, you can add source strings from Crowdin Enterprise to your designs in Sketch in a click. After the texts are used in the designs, you can automatically upload tagged screenshots for translators’ reference back to Crowdin Enterprise.
After using the source strings from Crowdin Enterprise in your designs, you can preview translations for these strings in Sketch and upload screenshots for them to your Crowdin Enterprise project.
You can add the strings that are already used in the designs or create and add completely new strings.
在 Crowdin 企业版中为多个文件添加相同的字符串,或者从 文件 下拉菜单中选择所需的文件。
如果某些艺术板包含不应添加到 Crowdin 的隐藏元素,请清除 推送隐藏元素 选项。
Added strings will be transferred to your Crowdin Enterprise project and also will be displayed in the list of the Strings tab. 您可以随时从同一列表中编辑或删除字符串。 相应的更改也将应用于您的 Crowdin 企业版项目中的字符串。
To simplify adding strings from Sketch to the Crowdin Enterprise project, you can set up the desired key naming pattern for the source string identifiers in the plugin settings. The Crowdin plugin for Sketch will suggest the string identifiers for new strings based on the selected pattern. 添加新的源字符串时,您始终可以将建议的标识符编辑为首选外观。
要选择键命名模式,请按照下列步骤操作:
要了解更多信息,请阅读文章屏幕截图。
Preview translations from Crowdin Enterprise for the strings used in the designs in Sketch. You can preview translations in the new frames or the original ones. When previewing translations in the new frames, you can populate them with the actual translations or with string keys for further use by developers.
要预览带有翻译的字符串,请遵循如下步骤:
要预览用键名称填充的字符串,请按照下列步骤操作:
Use the Translation tab to localize static pages, like brochures and banners. In this tab, you can send texts with context for translators to Crowdin Enterprise and upload translated copies back to Sketch.
You can send text for translation either from selected or all artboards from a Sketch file. 翻译员将在列表视图中处理这些文本,并使用设计作为附加语境,以实现更高的翻译质量。
In Crowdin Enterprise, a root folder Sketch plugin will be created. It will contain a subfolder named after your Sketch file with HTML files for each artboard inside. If needed, you can disable content segmentation in the plugin Settings so the long texts will not be split into sentences.
To send Sketch designs for translation, follow these steps:
当源文件上传到您的 Crowdin 企业版项目时,您可以邀请贡献者翻译和校验它们。
了解更多有关翻译策略的内容。
You can synchronize texts between Sketch and Crowdin Enterprise projects whenever you want to test the translated copy inside Sketch or generate multilingual assets.
To upload translated copies to Sketch, follow these steps:
After uploading translations to Sketch, the modified file will contain a separate artboard with translations for each target language. 新上传的翻译版本不会覆盖您之前上传的版本。 您可以随时删除不再需要的翻译副本。
如果您希望新上传的翻译版本覆盖之前上传的翻译版本,请打开插件设置并选择覆盖现有翻译。