<li><ahref="https://poeditor.com/join/project/1Lld6f5Swi">Join the localization project</a></li>
<li>Tell me the account name you used so I can approve it. The best way is via <ahref="https://discord.gg/WTuqGeJ">#localization on Discord</a>, but you can also <ahref="mailto:chattyclient@gmail.com">send a mail</a>.</li>
</ol>
<p>Note: If the language you want to work on hasn't been added yet, tell me, then proceed with step 1 once it has been added.</p>
<li>You don't have to translate everything. If there is no good translation for something, just keep it in English (this especially applies if the English term is commonly used in that language and better fitting).</li>
<li>Strings that aren't translated will automatically fallback to English, so please don't just copy the English strings to fill translations, unless the English string <em>is</em> the translation (see previous point).</li>
<li>If you're translating a term specific to Twitch or Streaming, try to use the "official" translation from the Twitch website.</li>
<li>Translations that are marked as <ahref="https://poeditor.com/kb/fuzzy-translations">Fuzzy</a> should be reviewed again, usually because the original string has changed and the translation may have to be updated. You can filter and order by Fuzzy strings. If you are satisfied that the translation is correct, you can remove the Fuzzy flag.</li>
<li>The <ahref="https://poeditor.com/kb/using-the-comment-system">comments</a> for a specific translation item sometimes give additional hints about the string and can be used for basic discussion.</li>
<li>Another (probably better) place to discuss things is <ahref="https://discord.gg/WTuqGeJ">#localization on Discord</a>.</li>
<p>Something like <code>{0}</code> in a string means it is replaced with the number <code>0</code> parameter. It should say in a comment what it gets replaced with (although most of the time it's clear from context already).</p>
<p>Substitutions use the <ahref="https://docs.oracle.com/javase/8/docs/api/java/text/MessageFormat.html">MessageFormat</a> class. Mostly it's enough to just stick close to the template.</p>
<p><em>Important:</em> Any single quote (<code>'</code>) in a string that contains a replacement needs to be escaped with a single quote (e.g. <code>Can''t join ''{0}''</code>).</p>
<h3>Choice</h3>
<p>The more advanced <code>{0,choice,<choices>}</code> pattern is used to decide between two strings depending on the value in the number <code>0</code> parameter. This is commonly used to decide between a singular and plural form.</p>
<li><code><spanclass="cond">1#</span></code> means "exactly 1" (in which case it chooses <code><spanclass="repl">channel</span></code></li>
<li><code><spanclass="cond">1<</span></code> means "more than 1" in which case it chooses <code><spanclass="repl">{0} channels</span></code> (where the <code>{0}</code> is replaced as well)</li>
</ul></dd>
<dd>When <code>{0}</code> is <code>1</code> turns into <code>Join channel</code></dd>
<dd>When <code>{0}</code> is <code>2</code> turns into <code>Join 2 channels</code></dd>
<dd>When <code>{0}</code> is <code>30</code> turns into <code>Join 30 channels</code></dd>
<p>Translations are commited to the repository by myself, since the files have to be converted into the format I want (e.g. proper structure and order of items). The process is mostly automated.</p>
<p><em>Note:</em> The names of contributors to each language (as registered on POEditor) are added to the top of the language file. If you want to be excluded from that or want to appear with a different name, let me know.</p>
<p>Changes of the <ahref="https://github.com/chatty/chatty/blob/master/src/chatty/lang/Strings.properties">original English strings</a> have to be done via GitHub (the normal way via Pull Requests).</p>