Help:Wiki Translation (fi)

From KDE TechBase
Revision as of 22:55, 19 October 2009 by Centerlink (talk | contribs) (Still translating part of text.)


Help:Wiki_Translation

This article describes how to translate articles into other languages. Please make sure to also read the last section called important notes.

Askel 1: Kielilyhenteet

Esimerkkinä otaksukaamme, että haluat paikallistaa seuraavan sivun suomen kielelle: * Development/Tutorials Kielilyhenne suomenkielelle on fi, siten kaikki artikkelit päättyvät " (fi)" (edeltävällä välilyönnillä).

Viite: luettelo kielilyhennyksistä.

Askel 2: Luo artikkeli

Joskus linkki kielen navigaatiopalkkiin on jo olemassa. Siinä tapauksessa napauta vain linkkiä, jonka haluat paikallistaa. Muuten lue artikkeli manuaalisesti:

Alustussisältönä käytä yksinkertaisesti vastaavan englanninkielisen sivun sisältöä. Tällä tavalla mitään sisältöä ei puutu ja muut lukijat voivat auttaa paikallistamisen kanssa.

Askel 3: Kielinavigaatiopalkki

Artikkelin pitää sisältää seuraavan mallinnerivin, jotta se näyttäisi kielinavigointipalkin:

  • {{Template:I18n/Language Navigation Bar|Development/Tutorials}}

Tämä maaginen rivi laajentuu kielinavigaatiopalkiksi artikkelille Development/Tutorials. Huomaa, että rivi ei sisällä kielilyhennettä.

Askel 4: Kieli puuttuu?

If the language is missing, please search for the right abbreviation (see Step 1). In the example above this abbreviation is " (de)".

Edit Template:I18n/Language Navigation Bar and add a line for the language you want to translate:

<span lang="de">[[{{{1}}}_(de)|Deutsch]]</span>

Replace 'de' by the language abbreviation and adapt the visible name.

Tärkeitä huomautuksia

As the wiki uses subpages it is likely that translators run into the following issue.

Assume the following pages exist:

1. Development/Tutorials
2. Development/Tutorials/Debugging

Further assume you want to translate (1) to german (postfix de).

The final page will be

3. Development/Tutorials_(de)

The english content of (2) uses relative wiki links like /Debugging. Translating Debugging in (3) might result in

Development/Tutorials_(de)/Debugging      # wrong, or
Development/Tutorials_(de)/Debugging_(de) # wrong

This is wrong.

The rule of thumb is that the language abbreviation always appears at the very end of the article, that is the right link is supposed to be

Development/Tutorials/Debugging_(de)

So be sure you adapt the links in the article to use absolute paths everywhere (i.e. no leading slash '/' in the wiki links).

Laadunvarmistus

The system administrators and contributors try to keep a close watch at the content, but with foreign languages this is sometimes getting hard. It would be good, if you add yourself to the Watch list (just click Watch). That way you will be noticed by mail whenever the article was changed. This will help to keep the wiki clean of e.g. spam, which unfortunately already happened.

Also, consider to add yourself to the translation teams. Bold text