Contatore parole

Di seguito i principi per cui Crowdin conta le parole:

  • A word is a combination of letters, punctuation marks and/or special characters (e.g.:@ # $ % ^ & * – _ ` ‘ “) followed by space.
  • La sequenza di segni di punteggiatura o caratteri speciali non è considerata come una parola.
  • HTML tags are considered as separate words for most of the formats, except the following ones: HTML, Front Matter HTML, HAML, MD, Front Matter MD, XML, WEBXML, IDML, XLIFF, ADOC, DOCX, MIF, DITA.
  • URLs (e.g.: https://crowdin.com) and emails (e.g.: support@crowdin.com) are considered as one word.
  • Hieroglyphs in Chinese, Japanese, and other hieroglyphic languages are counted as one word/hieroglyph. For example, “ライフ・イン・トウキョウ。” is counted as ten words.

Altri esempi di come sono contate le parole:

Nella stringa Parole
Il numero è -123.45 3
<a href=”{0}” target=”_parent”>qui</a> 1 / 7 (if non-HTML-based format is used)
{0} – {1} a {2} 4
due-in-uno 1
2-in-uno 1
due-in-1 1
%file_type% 1
ciao?mondo 1
ciao ? world 2
☂ ☃ ☀⚤ 0
© %company% 1
01/01/1980 3
Lunedì, 8 Agosto, 2011 4
https://ka-graphie.example.com/6d8b.png 1
Diamo un'occhiata 2
Vediamo 3 (un altro tipo di apostrofo è usato)
Word(s) 2

Translatable HTML Attributes

When working with the 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 Esempio
title translatable if contained in any HTML tag <p title="value">Text</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>Text</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>
valore 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">
label translatable if contained in optgroup, track* tags
* – if nested in the parent tags video, audio
<optgroup label="Text">
contenuto translatable if contained in meta tag <meta name="description" content="Text">

Questo articolo è stato utile?