Contador de Palavras

Below are the principles due to which Crowdin Enterprise counts words:

  • A word is a combination of letters, punctuation marks, and special characters (e.g.:@ # $ % ^ & * – _ ` ‘ “) followed by space.
  • A sequence of punctuation marks or special characters is not considered a word.
  • By default, HTML tags are considered separate words for most formats, except the following ones: HTML, Front Matter HTML, HAML, MD, Front Matter MD, XML, WEBXML, IDML, XLIFF, XLIFF 2.0, ADOC, DOCX, MIF, DITA. You can change the default word count settings in the Project settings. Read more about Word count settings.
  • URLs (e.g.: https://crowdin.com) and emails (e.g.: support@crowdin.com) are considered one word.
  • Hieroglyphs in Chinese, Japanese, and other hieroglyphic languages are counted as one word/hieroglyph. For example, “ライフ・イン・トウキョウ。” is counted as ten words.

Outros exemplos de como as palavras são contadas:

Frase Palavras
O número é -123.45 3
<a href=”{0}” target=”_parent”>aqui</a> 1 / 7 (if non-HTML-based format is used)
{0} – {1} em {2} 4
dois-em-um 1
2-em-um 1
dois-em-1 1
%file_type% 1
ola?mundo 1
olá ? world 2
☂ ☃ ☀⚤ 0
© %company% 1
01/01/1980 3
Segunda-feira, 8 de agosto de 2011 4
https://ka-graphie.example.com/6d8b.png 1
Vamos dar uma olhadela 2
Let's look 3 (outro tipo de apóstrofo é usado)
Palavra(s) 2

Translatable HTML Attributes

When working with HTML-based file formats, depending on the file structure, some HTML attribute values may be considered translatable while others not. You can see the list of attributes and situations when their values are considered translatable in the table below.

Attribute Details Exemplo
título translatable if contained in any HTML tag <p title="value">Texto </p>
src translatable if contained in img, iframe, embed, video, audio, source*, track* tags
* – if nested in the parent tags video, audio
<audio src="sound.ogg" controls>Texto </audio>
href translatable if contained in a tag <a href="https://www.site.com">Site name</a>
data translatable if contained in object tag <object data="image.jpg"></object>
value translatable if contained in input, button tags <input value="Text">
placeholder translatable if contained in input, textarea tags <textarea placeholder="Enter some text here..."></textarea>
alt translatable if contained in img tag <img src="image.jpg" alt="Image">
legenda translatable if contained in optgroup, track* tags
* – if nested in the parent tags video, audio
<optgroup label="Text">
conteúdo translatable if contained in meta tag <meta name="description" content="Text">

Este artigo foi útil?