Habitica Wiki
Advertisement
Habitica Wiki

這篇文章是關於翻譯Habitica Wiki的。如翻譯Habitica本體請查看語言學家指南獲得相關信息。如翻譯新聞請查看創建和編輯新聞頁面

建議您加入Commonwealth of i18n - Aspiring Linguists of HabiticaWizards of the Wiki兩個公會。他們分別是遊戲本體翻譯和Wiki翻譯的總公會。下文也會列出各語言設立的分公會地址,歡迎加入。

所有語言學家要精通自己所翻譯的語言。如果翻譯出粗糙的頁面會給Habitica帶來負面印象,同時也傳遞錯誤並誤導讀者,那樣就與我們的本意背道而馳了。請不要使用有道翻譯或其他機翻手段,讀者自己也可以這樣處理。提供粗糙的翻譯頁面會使我們流失更多精通語言的志願者,如果他們沒有通讀這篇文章,會認為我們不需要人工翻譯。

在開始翻譯之前,請認真閱讀以下步驟。

為你的語言找到或申請Wiki[]

目前已經存在的語言如下表所示。要另外申請語言,請在Wizards of the Wiki公會申請創建。Habitica管理員會為其創建主頁,並使你能夠從英文wiki搬運圖片,創建樣式表,並將你添加為該wiki的管理員。

連結 語言 漢語名稱 翻譯公會
da.habitica.wikia.com Dansk 丹麥語
de.habitica.wikia.com Deutsch 德語 Wiki - German Translators
es.habitica.wikia.com Español 西班牙語 ¡Aventureros a la Wiki!(需要權限,如需加入前往Commonwealth of i18n 公會申請進入)
fr.habitica.wikia.com Français 法語 French Translators Guild
it.habitica.wikia.com Italiano 意大利語
ja.habitica.wikia.com 日本語 日語 Habitica 日本語訳 Team
nl.habitica.wikia.com Nederlands 荷蘭語 Nederlands Wiki Gilde van Habitica
pl.habitica.wikia.com Polski 波蘭語 Wiki - Polish Translators
pt-br.habitica.wikia.com Português Brasileiro 巴西葡萄牙語 Wiki - Portuguese Translators
ru.habitica.wikia.com Русский 俄語 Переводчики Habitica
tr.habitica.wikia.com Türkçe 土耳其語 Türkçe Linguists and Scribes
zh.habitica.wikia.com 中文 (簡體 & 繁體) QQ群 563291803

Habitica Wikia 翻譯(需要權限,如需加入前往Commonwealth of i18n 公會申請進入)

開始翻譯[]

我們推薦您翻譯時逐個添加頁面。一個非英語wiki包含大量英語頁面會使用戶難以查看內容,也使管理員難以判定是否賦予你貢獻等級。

請在翻譯完整個頁面後再開始新頁面的翻譯。

如果您想要翻譯的語言已經創立公會,那麼歡迎加入。

準備與複製工作[]

第一步,將你想要翻譯的頁面導航到相應網址。你需要先前往你的目標語言wiki首頁,舉個栗子:
habitica.fandom.com/xx --其中「xx」是目標語言的代碼。

我們以寵物頁面為例。該頁面源地址(英文)為:

habitica.fandom.com/wiki/Pets

目標頁面(如中文)為:

habitica.fandom.com/zh/wiki/宠物

你會發現,只有語言代碼和「/wiki/」後的文本是不同的。其中「/wiki/」後的文本定義翻譯頁面地址,這就是你要導航的地址。

找到一個空白頁面,你會看到「create」鍵(已翻譯的頁面會顯示「edit」),點擊它進入編輯器。

打開編輯器之後,你需要源英文頁面的文本。請打開另一個瀏覽器(或打開新窗口/標籤頁)進入英文的該頁面,後點擊「edit」。

強調,現在你打開了兩個編輯器。接着,在編輯器右上角「≡」菜單進入原始碼編輯器,複製英文頁面的原始碼,並粘貼到目標頁面原始碼編輯器內,接着發表。提示:有時直接在顯示模式拷貝效果更好(例如存在複雜表格、模型,如 職業 頁面),但大多數情況拷貝原始碼就好了。

舉例:

  • 觀察 /wiki/Pets 頁面編輯器。右上角有兩個標籤頁,一個是「Visual」預覽編輯器,一個是「Source」原始碼編輯器。
  • 點擊「Source」頁面。
  • 現在屏幕顯示這本頁面的原始碼。複製全部內容(不知道是什麼意思也沒關係)。
  • 關閉原網站頁面。
  • 進入 /wiki/寵物 頁面編輯器。
  • 進入原始碼編輯器(如果你尚未進入的話)。
  • 粘貼原始碼,根據你編輯的內容寫摘要(如「創建」等),然後發表你的編輯。

這可能看起來很糟糕,但現在起操作就簡單多啦。

接下來從英語Wiki獲取並插入需要的圖片與模板到目標頁面。有時如果模板不重要可以將其忽略。

除非你需要在頁面顯示包含文字的圖片,而你想將它也進行翻譯,你不需要自行拷貝圖片。(更多信息很快推出,或諮詢Wizards of the Wiki公會)

在這之後,你的頁面看起來就與原頁面基本相同了。

翻譯頁面分類[]

頁面創建之後,你需要翻譯該頁面的類別名稱(見頁面頂部及底部的「分類:XXX」區域)。請先瀏覽分類索引,查詢分類所對應的譯名,再嚴格按照該譯名翻譯類別名稱,避免引起不必要的麻煩。

翻譯[]

真正翻譯頁面的過程才是你來到這個頁面的目的。

要注意哪些詞語需要翻譯而哪些要保持原樣。「Feature」是一個在很多語言中都有的詞,「Daily」和「To-Do」可能有挑戰性。

另一個同樣重要的準則是使用已有的詞彙。如果某物已經有一個名字,就用那個詞。不要給同一個事物發明新名字。你的翻譯可能聽起來不那麼好,但是為了易用性,用同一個詞指稱同一個事物是有必要的。如果你真的覺得你的方案更好,先討論它。

以下的頁面是在任何翻譯的Wikia中都應該優先被翻譯和維護的:

- 首页
- 职业
  -战士
  -法师
  -盗贼
  -医者
- 宠物
- 坐骑

你應該在每個翻譯的頁面中都加上這個模板。 {{t|Translation}}
註:我們幾乎沒有原創文章,基本都是翻譯文章,沒有必要使用此模板加以區分。

排序順序[]

Wikia使用Unicode編碼通過標題對文章和分類進行排序。儘管這種方法很適用於英語,但它可能引起其他語言頁面的排序與通常所用的排序不同。為了避免這種情況,你可以設置頁面上的 默認順序(DEFAULTSORT) 變量,把這一頁移動到更合適的位置。如果你想要改變頁面上任何一處的位置,就插入:

{{DEFAULTSORT:new sort key}}

目標語言的排序規則決定了你如何定義新的排序鍵,我們建議你與wiki上其他譯者進行討論。例如:

{{DEFAULTSORT:A Faire}}

在法語文章中插入 À Faire 可以確保它與其他以「A」開頭的頁面排列在一起,而不是排在「Z」的後面。

這項技術也能用於根據標題中其他詞,而非第一個單詞來排序文章。例如,你可以給所有以「The」開頭的文章設置排序鍵,這樣它們就能按照第二個詞進行排序了,「T」分類下就不會有許多頁面了。

添加語言連結[]

翻譯完成後,在每一個翻譯好的頁面及其對應的英文頁面底部添加一個語言連結。想要了解如何操作,請閱讀幫助:跨語言連結(Interlanguage_links)

例如:[[en:Guidance for Linguists]] (將連結到此頁面的其他語言版本)

例如:[[de:Leitfaden für Übersetzer]] (將連結到德語頁面)

注意,不同的非英語wiki之間不能建立跨語言連結,因此在已翻譯完的(即非英語的)wiki上,只應提供英語的跨語言連結。這是因為很少有人會在各個已翻譯好的wiki之間進行切換以校正每一處翻譯,以及在所有現存頁面上更新新語種的wiki及頁面。如果確實想從一個非英語wiki跳轉至另一個非英語wiki,則可以使用英語wiki作為中介。

申請貢獻者等級[]

想要了解申請貢獻者等級的過程,請閱讀The Keep:The Knights Chambers。準備好後,你就能通過該頁面進行申請。請注意,監視及檢查翻譯會使非英語wiki的等級評估過程變得尤其困難,可能不會授予貢獻者等級。所有等級都由管理員判斷授予。

管理員新建Wiki的方法[]

本節包含了幫助英文wiki管理員在另一語言中新建wiki的信息。譯者可忽略本部分。

建議只有當目標語言中有三位以上的貢獻者組成自願團隊,並且Whats New Page保持定期更新時,才建立一個新的wiki。

顯示/隱藏說明
  1. Click on the "Start a wikia" button in the header of any wiki page and enter information in the dialog that appears:
    1. In the Name field, enter exactly "Habitica".
    2. Allow the Address field to be created automatically and do not change it for any reason.
    3. Select the language. It is vital that you choose the right one, otherwise, there will be trouble with language linking later. If you don't know the two-character code for the target language, you can look up the ISO code and look for the value in the "639-1" column for the desired target language.
    4. Click the "Next" button which will take you to a second screen.
    5. In the "What's your wiki about?" field, enter "Your Life, The Role Playing Game".
    6. In choose a hub, select "Games".
    7. For "Check additional categories", do not tick any checkboxes.
    8. Click the "Create My Wiki" button which will take you to the "Choose your theme" page.
    9. Select the first theme.
    10. Click the "Show me my wiki" button which will take you to the new wiki's front page.
    11. Cancel the "Congratulations! You successfully created Wikia Habitica" popup. Do NOT click on the "Add a Page" button.
  2. Go to the English wiki's front page and open it in the source mode editor. Copy the entire contents to your clipboard. Close the editor without making changes.
  3. Open the new wiki's front page in the source mode editor and paste in the entire contents of the English front page.
  4. In the welcome box, replace "The wiki is also available in other languages: {{Other Languages|compact}}" with "The wiki is also available in [http://habitica.wikia.com/ English] and other languages (available from the English wiki's home page)." We do not list all the languages in the welcome box because then every wiki's home page would need to be updated when a new wiki is created.
  5. At the bottom of the page, replace the list of languages with "[[en:Habitica Wiki]]". Do not worry if that link does not work after the page has been saved.
  6. Save the home page. Do not worry that it looks terrible at the moment. Do not start copying images from the English wiki, not even the Habitica logo.
  7. Go to Category:Homepage Templates on the English wiki. Copy all templates you find there to the new wiki (see the tip below about copying files). This should make the new wiki's home page look better. Any remaining problems are likely to be fixed by the steps below.
  8. Set up administrators:
    1. Go to habitica.wikia.com/wiki/Special:UserRights on the English wiki.
    2. Edit the URL to change habitica.wikia.com to the domain name for the new wiki (i.e., add the language's abbreviation at the start of habitica.wikia.com). This will take you to the correct form for adding administrators to the new wiki.
    3. Add LadyAlys, Sonnet73, and Taldin as administrators (give them all available permissions). Also, add the person who asked for the wiki to be created (you will need to find out the name that their Wikia account uses); the Special:Listusers page might help.
  9. Go to Wikia's Community Central : Interlanguage link requests page and follow the instructions there to request language linking from the English wiki to the new wiki. After Wikia staff have done that, the link to the English wiki at the bottom of the new wiki's home page should start to work.
  10. This next step must be performed by a person who is an administrator on both the new wiki and the English wiki. Go to the form for contacting Wikia staff. For the subject, enter text like "Image reuse from habitica.wikia.com to new translated wiki and JavaScript editing". For the message enter text like "Hello. I'm an admin of http://habitica.wikia.com/ and [URL]. Could you please allow [URL] to be able to use the images from http://habitica.wikia.com/ ? Please could you also enable http://community.wikia.com/wiki/Help:JavaScript_review_process on [URL]? Thank you!". Change "[URL]" to the URL of the new wiki in both places it appears. It will take a day or two for Wikia staff to enable image sharing and JavaScript editing. After they have done that, the Habitica logo will automatically appear on the new wiki's home page (as will other images on other pages that are created by copying the source code from the English wiki).
  11. After the above step has been completed, copy each of the stylesheets and JavaScript files below to the new wiki (see the tip below about copying files). Ignore any of these files if they show nothing but 404 errors on the English wiki (those files are not in use yet). Note that changes to the JavaScript files will not take effect until after they have been reviewed by Wikia staff.
  12. Adjust the Theme, Wordmark, FavIcon, Templates, Color set, Top Menu. More info to come.
  13. Enable any features on the new wiki's Special:WikiFeatures page that you would like to use and are not enabled by default (e.g., badges/achievements). (Note: the link goes to the English wiki; please adjust the URL for the new wiki.)
  14. Add the new wiki's URL and the language name (not the English version of the name) to the English wiki's home page in the Welcome box and in the list of languages at the bottom of the home page (do not worry if that latter link does not work yet; it will when Wikia staff have enabled interlanguage linking).
  15. Add the new wiki's details to the table of wikis in Guidance for Linguistic Scribes.
  16. Tell the person who requested the wiki that they can now translate the home page and then start translating other pages.

Tip: When copying files (such as templates, stylesheets, and JavaScript files) from the English wiki to the new wiki, the easiest method is below. Do not do this from any of the non-English wikis because if you do, the final file names will be wrong!

  1. On the English wiki, open the file in the source editor.
  2. Copy the entire contents to the clipboard.
  3. Do not save or cancel from the source editor!
  4. Adjust the page's URL to add the new wiki's language abbreviation at the start of the URL and hit enter on your keyboard. You will now find yourself in the source editor for the same file in the new wiki.
  5. Paste from your clipboard. If there is already content there (e.g., default styles with comments in the new wiki's language), then do not overwrite that content. Instead, paste the English wiki's material below it, then search through that English material to find the comments and code that match the existing content, and delete that English material.
Advertisement