Archive:Wiki Translation (zh TW)

From KDE TechBase
Revision as of 14:50, 30 November 2009 by Alisha (talk | contribs)


Help:Wiki_Translation

本文說明如何翻譯文章為其他語言。請確定你也閱讀了最後一節:重要事項

第一步:語言縮寫

比如說,假如你要翻譯下面這一頁為德文:

德語的縮寫為 de,因此,所有的文章都會以「 (de)」結尾(前面有一個空格)。

參考:語言縮寫列表

第二步:建立文章

有時語言導航列中已經有對應的連結。在這種情況下,只要點擊你要翻譯的連結就可以了。否則,請手動建立文章:

請使用對應的英語頁面作為初始內容。這樣不會遺漏內容,並且其他讀者能夠幫助翻譯。

第三步:語言導航列

文章中必須包含下列樣版,才能顯示語言導航列:

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

這神奇的一行會擴展成 Development/Tutorials 文章的語言導航列。注意,這一行不包含語言縮寫。

第四步:找不到語言?

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.

重要事項

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).

品質保證

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.