Esboço de plugin

Este plugin permite conectar seus projetos Sketch e Crowdin. Isso pode incluir textos originais ou traduzidos. If necessary, you can add new ones (e.g., dialog titles, button labels) and send them to translators in Crowdin.

Casos de uso

  • Quickly generate multilingual creative assets.
  • Traduza modelos e teste-os em diferentes idiomas antes do início da programação.
  • Stop using ‘Lorem Ipsum’, add real texts from Crowdin to your prototypes instead.
  • Crie e carregue textos de origem de seus designs para seu projeto Crowdin. Dessa forma, os textos carregados podem ser usadas pelos desenvolvedores, o que reduz o tempo gasto no desenvolvimento.
  • Carregue capturas de tela marcadas no seu projeto Crowdin.

Instalando o plugin Crowdin para Sketch

Você pode download do ultimo lançamento do nosso repositório no GitHub.

  1. Download o arquivo de instalação.
  2. Descompactar isso.
  3. Clique duas vezes no arquivo sketch-crowdin.sketchplugin para instalação automática.

O plugin Crowdin para Sketch também pode ser instalado com Sketch Runner.

Conexão do Sketch com a conta Crowdin

Configurando Credenciais do Crowdin

Antes de começar a enviar traduções para o Crowdin e enviá-las novamente para o Sketch, siga estas etapas:

  1. Clique em Plugins > Crowdin.
  2. Troque para Configurações.
  3. Forneça seu token de acesso pessoal.
  4. Clique em Conectar ao Crowdin. Conectar plugin do Sketch ao Crowdin

To generate a new token in Crowdin, follow these steps:

  • Go to Account Settings > API tab, Personal Access Tokens section, and click New Token.
  • Specify Token Name and click Create. Crowdin Personal Access Token

Selecionando projeto no 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. Later on, you can use the same drop-down menu to switch to another project if needed. Additionally, you can select the specific branch your content will be uploaded to. Sketch Plugin Selecting Crowdin Project

UI Localization

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 to your designs in Sketch in a click. Depois que os textos são usados nos designs, você pode enviar automaticamente capturas de tela marcadas para referência dos tradutores de volta ao Crowdin.

Usando textos de origem do Crowdin no Sketch

  1. Abra o plugin Crowdin para Sketch.
  2. In the Strings tab, use the Search field to find the specific copy. You can search strings by source text, string identifier, or context.
  3. Selecione a camada de texto à qual deseja adicionar texto e clique no texto necessário. Sketch Plugin Using Source Strings from Crowdin in Sketch

Depois de usar as seqüências de origem do Crowdin em seus projetos, você pode pré-visualizar as traduções para esses textos no Sketch e enviar capturas de tela para o seu projeto no Crowdin.

Adicionando textos de origem do Sketch ao Crowdin

You can add the strings that are already used in the designs or create and add completely new strings.

  1. Abra o plugin Crowdin para Sketch.
  2. To add the strings used in the designs, select the whole artboard, multiple artboards, or the needed strings on the artboards. Alternatively, skip this step if you want to add a new string.
  3. In the Strings tab, click Add String.
  4. In the appeared dialog, fill in the required fields.
  5. (Optional) To add labels to the strings, alternately select them from the Label drop-down menu and click Save. Adicionar texto do plugin Sketch

To add the same strings into multiple files in Crowdin, alternately select the needed files from the File drop-down menu.

Sketch Plugin Add String To Multiple Files

If some artboards contain hidden elements that should not be added to Crowdin, clear the Push hidden elements option.

Added strings will be transferred to your Crowdin project and also will be displayed in the list of the Strings tab. You can edit or delete the strings from the same list anytime. The respective changes will also be applied to the strings in your Crowdin project.

Key Naming Pattern Settings

To simplify adding strings from Sketch to the Crowdin 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. While adding new source strings, you can always edit the suggested identifier to the preferred look.

To select the key naming pattern, follow these steps:

  1. Abra o plugin Crowdin para Sketch.
  2. Troque para Configurações.
  3. In the Key naming pattern section, select the preferred option from the drop-down menu.

Uploading Tagged Screenshots to Crowdin

  1. Abra o plugin Crowdin para Sketch.
  2. Na aba de texto, use textos do projeto Crowdin em seus designs. Clique em carregar de capturas de tela para fazer carregamento de capturas de tela das pranchetas que incluem os textos usados.
  3. Para atualizar as capturas de tela no Crowdin, clique carregar captura de tela novamente. Carregar captura de tela do plugin Sketch

To learn more, read the article Screenshots.

Previewing Strings

Preview translations from Crowdin 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.

To preview strings populated with translations, follow these steps:

  1. Abra o plugin Crowdin para Sketch.
  2. In the Strings tab, Preview Strings section, select Preview in duplicated artboards or Preview in the current artboards.
  3. Select Create with language.
  4. Select the target language you want to preview translations for. You can also choose All languages.
  5. Choose the content you want to preview in Sketch. Selecione página ou prancheta. Pré-visualizar texto do plugin Sketch

To preview strings populated with key names, follow these steps:

  1. Abra o plugin Crowdin para Sketch.
  2. In the Strings tab, Preview Strings section, select Preview in duplicated artboards.
  3. Select Create with key names.
  4. Choose the content you want to preview in Sketch. Selecione página ou prancheta. Sketch Plugin Preview Keys

Marketing Visuals Localization

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 and upload translated copies back to Sketch.

Sending Texts for Translation to Crowdin

You can send text for translation either from selected or all artboards from a Sketch file. Translators will work with those texts in the list view and use designs as an additional context for even higher translation quality.

In Crowdin, a root folder Sketch plugin will be created. Ele conterá uma subpasta com o nome de seu arquivo Sketch com arquivos HTML para cada prancheta dentro. If needed, you can disable content segmentation in the plugin Settings so the long texts will not be split into sentences.

Para enviar projetos Sketch para tradução, siga estas etapas:

  1. Abra o arquivo de Sketch necessário.
  2. Vá para Plugins > Crowdin.
  3. In the Translation tab, Send Texts section, select content you’d like to translate. Selecione página ou prancheta. Enviar texto do plugin Sketch

When the source files are uploaded to your Crowdin project, you can invite contributors to translate and proofread them.

Read more about translation strategies.

Uploading Translations from Crowdin to Sketch

You can synchronize texts between Sketch and Crowdin projects whenever you want to test the translated copy inside Sketch or generate multilingual assets.

Para enviar cópias traduzidas para o Sketch, siga estas etapas:

  1. Abra o arquivo de Sketch necessário.
  2. Vá para Plugins > Crowdin.
  3. In the Translation tab, Get Translations section, select the target language you want to upload translations for. You can also Select All languages.
  4. Select the content you want to preview in Sketch. Selecione página ou prancheta. Obter traduções do plugin Sketch

Depois de enviar traduções para o Sketch, o arquivo modificado conterá uma prancheta separada com traduções para cada idioma de destino. As versões traduzidas recém-carregadas não substituirão as que você enviou anteriormente. The newly uploaded translated versions won’t override the ones you uploaded previously. You can always delete the translated copies you no longer need. Sketch Plugin Uploaded Translations

If you’d like the newly uploaded translated versions to override the previously uploaded ones, open the plugin Settings and select Override existing translations.

Este artigo foi útil?