Touhou Patch Center:Tutorial/zh-hant: Difference between revisions

From Touhou Patch Center
Jump to navigation Jump to search
(Created page with "如果你要翻譯的語言不在選擇列表裡面,只要在[[Talk:{{ns:4}}#Language requests|主討論區]]留言就行,新語言沒多久就會設定好。")
(Created page with "==編輯文本的翻譯== <div style="float:right;">{{{{ns:4}}:Translation progress}}</div> #任何時候點擊頁面上網站的標誌就可以回到[[{{ns:4}}|主頁]]。<br...")
Line 19: Line 19:
如果你要翻譯的語言不在選擇列表裡面,只要在[[Talk:{{ns:4}}#Language requests|主討論區]]留言就行,新語言沒多久就會設定好。
如果你要翻譯的語言不在選擇列表裡面,只要在[[Talk:{{ns:4}}#Language requests|主討論區]]留言就行,新語言沒多久就會設定好。


==Editing text translations==
==編輯文本的翻譯==
<div style="float:right;">{{{{ns:4}}:Translation progress}}</div>
<div style="float:right;">{{{{ns:4}}:Translation progress}}</div>
#Go to [[{{ns:4}}|the main page]] which can accessed at anytime by clicking the logo.<br /> (Or again, click the hyperlink)
#任何時候點擊頁面上網站的標誌就可以回到[[{{ns:4}}|主頁]]<br />(當然, 你還是可以直接點一下前面的超連結)
#Choose a game you wish to translate.<br /> On the right, you can see the list of translatable games, their progress in the respective languages, and whether they are finished.
#選擇你想翻譯的遊戲。<br />右邊有可進行翻譯的遊戲列表以及這些遊戲的各自語言的翻譯進度、完成情況。
#Choose a piece of translatable content you want to work on.
#選擇一個你想翻譯的部分。
#<p>Click on the small <span class="field">{{MediaWiki:translate-tag-translate-link-desc}}</span> label at the top of that page {{#ifeq:{{intlang}}|en|| (<span class="field">{{int:translate-tag-translate-link-desc}}</span> in your language)}}.</p><p>If the page you are on already has a translation, it will instead say<blockquote>''{{int:tpt-translation-intro|{{fullurl:{{FULLPAGENAMEE}}}}|X|X}}''</blockquote></p><p>In that case, the first link will bring you to the translation interface.</p>
#<p>點擊頁面上方的小<span class="field">{{MediaWiki:translate-tag-translate-link-desc}}</span>標籤 {{#ifeq:{{intlang}}|zh-hant|| (<span class="field">{{int:translate-tag-translate-link-desc}}</span> in your language)}}</p><p>如果你所在的頁面已經有了翻譯,它會顯示為<blockquote>''{{int:tpt-translation-intro|{{fullurl:{{FULLPAGENAMEE}}}}|X|X}}''</blockquote></p><p>這種情況下,第一個連接會把你帶往翻譯介面。</p>
#Verify that the correct language you ''want to translate into'' is selected in the <span class="field">{{int:translate-page-language}}</span> drop-down menu.<br />This will automatically be set to the language of the site interface. If you had to change it, don't forget clicking <span class="field">{{int:translate-submit}}</span> afterwards.
#確保你''要翻譯為的''語言已經在 <span class="field">{{int:translate-page-language}}</span>下拉菜單裡面選定了。<br />這會自動被設定為站點的語言。如果你必須要修改的話,別忘了在選擇完以後點擊<span class="field">{{int:translate-submit}}</span>
#Double-click the message boxes and begin typing your translation in.
#雙擊訊息框,開始鍵入你的編輯吧。
#Hit Save.
#點擊“儲存”。
#Then, just follow steps 6 + 7 for the remainder of the boxes.
#然後重複步驟六和七直至翻譯完畢。


<div style="clear: both;"></div>
<div style="clear: both;"></div>

Revision as of 07:42, 21 December 2019

{{Project overview/Template:Pagelang}}

顯然,譯者是粉絲群體中最為重要的群體,因此我們有必要儘可能簡化翻譯這一過程。

註冊及登入

  1. 首先,你要跟隨頁面右上角的超連結來註冊帳號或者直接點擊前面的連接。
    如果你已經擁有了一個賬號,直接跳至下一步。
  2. 在註冊超連結旁邊的連接,你可以用你的帳號和密碼登入帳號
    (或者直接點擊前面的超連結)

變更站點語言

站點的默認界面語言會自動隨着你的瀏覽器的偏好語言變動。這也會用於設定翻譯菜單的初始翻譯語言。所以,我們建議你把它調整到你想要翻譯的語言,以免你意外間覆蓋了其他語言的已有翻譯。

你也可以點擊頁面上方的   ⧼kieli-load⧽按鈕並鍵入對你的語言的本土化稱呼,或對應之ISO 639-1代碼

此設定存儲於瀏覽器的Cookie當中,如果登入了帳號,也會儲存在你的帳號當中。

開始翻譯一個這裡還沒有的語言

通常這不是問題,只要像平常一樣選擇語言就好,管理員會很快地把需要的連接和用於整合到東方社群驅動補丁器的專題頁面建立好。

如果你要翻譯的語言不在選擇列表裡面,只要在主討論區留言就行,新語言沒多久就會設定好。

編輯文本的翻譯

Games Supported Languages with >95% coverage Languages started & in progress
Icon th06.png TH06 Embodiment of Scarlet Devil 英文 Literal English 英国英语 車臣文 Google Translate English 德文 法文 西班牙文 義大利文 巴西葡萄牙语 Brazilian Portuguese troll translations 葡萄牙文 印尼文 泰文 塔加路族文 韓文 波蘭文 俄文 越南文 保加利亞文 羅馬尼亞文 簡體中文 匈牙利文 烏克蘭文 克羅埃西亞文 阿拉伯文 世界文 雅庫特文 希臘文 中文(繁體) Bukvalni Srpski 亞塞拜然文 Argentine Spanish 4Kids English Troll translations Yorkshire English 芬蘭文 盧森堡文 馬來文 荷蘭文 Tiếng Việt (THVNFB translation) 巴克摩挪威文 Toki Pona 捷克文 Français québécois (familier oral) French troll translations 瑞典文 土耳其文 蘇格蘭文 塞爾維亞文
Icon th07.png TH07 Perfect Cherry Blossom 英文 英国英语 Google Translate English 德文 西班牙文 阿拉伯文 義大利文 俄文 印地文 印尼文 希臘文 烏克蘭文 越南文 泰文 韓文 波蘭文 巴西葡萄牙语 Brazilian Portuguese troll translations 保加利亞文 簡體中文 匈牙利文 世界文 克羅埃西亞文 中文(繁體) Argentine Spanish Literal English 4Kids English Yorkshire English 芬蘭文 法文 盧森堡文 Troll translations Tiếng Việt (THVNFB translation) 捷克文 波斯文 巴克摩挪威文 羅馬尼亞文 瑞典文 葡萄牙文 土耳其文 蘇格蘭文 Toki Pona 馬其頓文 塞爾維亞文 Bukvalni Srpski 亞塞拜然文
Icon th075.png TH07.5 Immaterial and Missing Power 中文(繁體) 簡體中文
Icon th08.png TH08 Imperishable Night 英文 英国英语 Google Translate English 德文 西班牙文 阿拉伯文 義大利文 印地文 韓文 泰文 保加利亞文 越南文 波蘭文 巴西葡萄牙语 簡體中文 匈牙利文 4Kids English 希臘文 芬蘭文 法文 印尼文 盧森堡文 荷蘭文 葡萄牙文 俄文 塔加路族文 瑞典文 烏克蘭文 塞爾維亞文 Bukvalni Srpski 中文(繁體) 亞塞拜然文
Icon th09.png TH09 Phantasmagoria of Flower View 英文 英国英语 德文 法文 印地文 波蘭文 泰文 韓文 簡體中文 匈牙利文 中文(繁體) 4Kids English Literal English 西班牙文 義大利文 盧森堡文 印尼文 Tiếng Việt (THVNFB translation) 俄文 烏克蘭文 瑞典文 巴西葡萄牙语 土耳其文 Bukvalni Srpski
Icon th095.png TH09.5 Shoot the Bullet 英文 英国英语 德文 俄文 印尼文 印地文 波蘭文 泰文 韓文 法文 簡體中文 阿拉伯文 中文(繁體) 4Kids English 西班牙文 義大利文 邏輯文 荷蘭文 巴西葡萄牙语 車臣文
Icon th10.png TH10 Mountain of Faith 英文 英国英语 Google Translate English 德文 西班牙文 義大利文 巴西葡萄牙语 俄文 印地文 保加利亞文 印尼文 波蘭文 越南文 泰文 韓文 簡體中文 捷克文 匈牙利文 世界文 葡萄牙文 中文(繁體) 4Kids English 希臘文 芬蘭文 法文 盧森堡文 荷蘭文 瑞典文 羅馬尼亞文 烏克蘭文
Icon alcostg.png UB Uwabami Breakers 英文 英国英语 德文 西班牙文 義大利文 印尼文 Yorkshire English 芬蘭文 簡體中文 韓文 馬來文 盧森堡文 中文(繁體)
Icon th105.png TH10.5 Scarlet Weather Rhapsody 簡體中文 英文 德文 越南文 俄文 法文 Français québécois (familier oral) 韓文 泰文 瑞典文
Icon th11.png TH11 Subterranean Animism 英文 英国英语 Google Translate English 德文 西班牙文 俄文 保加利亞文 印地文 越南文 波蘭文 烏克蘭文 泰文 韓文 簡體中文 匈牙利文 印尼文 中文(繁體) 巴西葡萄牙语 4Kids English 希臘文 德文(瑞士) 芬蘭文 法文 義大利文 盧森堡文 荷蘭文 Tiếng Việt (THVNFB translation) 瑞典文 捷克文 世界文
Icon th12.png TH12 Undefined Fantastic Object 英文 英国英语 Google Translate English 德文 西班牙文 俄文 印地文 泰文 越南文 韓文 簡體中文 匈牙利文 塞爾維亞文 中文(繁體) 4Kids English 芬蘭文 法文 盧森堡文 巴西葡萄牙语 印尼文 瑞典文 捷克文 Bukvalni Srpski 義大利文
Icon th123.png TH12.3 Touhou Hisoutensoku 簡體中文 英文 德文 越南文 俄文 韓文 法文 泰文 西班牙文 瑞典文
Icon th125.png TH12.5 Double Spoiler 英文 英国英语 德文 西班牙文 義大利文 印地文 韓文 泰文 簡體中文 4Kids English Yorkshire English 法文 匈牙利文 印尼文 盧森堡文 馬來文 荷蘭文 巴西葡萄牙语 俄文 車臣文
Icon th128.png TH12.8 Fairy Wars 英文 英国英语 車臣文 Google Translate English 德文 西班牙文 義大利文 俄文 烏克蘭文 匈牙利文 印地文 越南文 韓文 泰文 簡體中文 世界文 4Kids English Pirate English 盧森堡文 波蘭文 荷蘭文 巴西葡萄牙语 匈牙利文 法文 印尼文 瑞典文
Icon th13.png TH13 Ten Desires 英文 英国英语 德文 西班牙文 義大利文 俄文 越南文 印地文 韓文 泰文 簡體中文 匈牙利文 4Kids English 希臘文 Yorkshire English 芬蘭文 法文 義大利文 盧森堡文 馬來文 荷蘭文 波蘭文 巴西葡萄牙语 印尼文 印地文 瑞典文 葡萄牙文
Icon th135.png TH13.5 Hopeless Masquerade 簡體中文 英文 德文 越南文 韓文 泰文 俄文
Icon th14.png TH14 Double Dealing Character 英文 英国英语 德文 西班牙文 義大利文 波蘭文 俄文 烏克蘭文 保加利亞文 印尼文 泰文 越南文 韓文 簡體中文 捷克文 匈牙利文 巴西葡萄牙语 4Kids English 德文(瑞士) Pirate English Troll translations Yorkshire English 芬蘭文 法文 盧森堡文 蒙古文 馬來文 巴克摩挪威文 荷蘭文 葡萄牙文 克林貢文 Tiếng Việt (THVNFB translation) 中文(繁體) 印地文 瑞典文 Toki Pona 車臣文 世界文
Icon th143.png TH14.3 Impossible Spell Card 英文 英国英语 德文 保加利亞文 俄文 韓文 越南文 泰文 簡體中文 阿拉伯文 4Kids English 西班牙文 芬蘭文 法文 印尼文 義大利文 巴克摩挪威文 波蘭文 葡萄牙文 巴西葡萄牙语 烏克蘭文 捷克文 瑞典文
Icon th145.png TH14.5 Urban Legend in Limbo 英文 德文 印尼文 越南文 韓文 泰文 簡體中文 印地文 巴西葡萄牙语 瑞典文
Icon th15.png TH15 Legacy of Lunatic Kingdom 英文 英国英语 德文 烏克蘭文 法文 European Spanish (Suzunaan Blog translation) 俄文 泰文 越南文 韓文 簡體中文 捷克文 阿拉伯文 中文(繁體) 匈牙利文 Argentine Spanish 巴西葡萄牙语 4Kids English 世界文 西班牙文 拉丁美洲西班牙语 加拿大法语 印尼文 瑞典文 葡萄牙文 車臣文 義大利文
Icon th155.png TH15.5 Antinomy of Common Flowers 英文 德文 韓文 越南文 泰文 簡體中文 阿拉伯文 俄文 羅馬尼亞文 印尼文 西班牙文 法文 French troll translations 巴西葡萄牙语 瑞典文 車臣文
Icon th16.png TH16 Hidden Star in Four Seasons 英文 英国英语 德文 European Spanish (Suzunaan Blog translation) 俄文 烏克蘭文 法文 捷克文 印尼文 越南文 泰文 韓文 簡體中文 匈牙利文 西班牙文 義大利文 巴西葡萄牙语 瑞典文 Troll translations 葡萄牙文 Serbian troll translations
Icon th165.png TH16.5 Violet Detector 英文 德文 European Spanish (Suzunaan Blog translation) 越南文 泰文 韓文 簡體中文 法文 俄文 西班牙文 印尼文 巴西葡萄牙语 瑞典文
Icon th17.png TH17 Wily Beast and Weakest Creature 英文 德文 European Spanish (Suzunaan Blog translation) 巴西葡萄牙语 俄文 捷克文 越南文 韓文 印尼文 簡體中文 法文 義大利文 Argentine Spanish 烏克蘭文 塔加路族文 瑞典文 泰文 Bukvalni Srpski
Icon th175.png TH17.5 Touhou Gouyoku Ibun 英文 德文 西班牙文 韓文 越南文 簡體中文 巴西葡萄牙语 俄文 法文 瑞典文
Icon th18.png TH18 Unconnected Marketeers 英文 德文 European Spanish (Suzunaan Blog translation) 俄文 韓文 越南文 簡體中文 義大利文 捷克文 匈牙利文 巴西葡萄牙语 保加利亞文 瑞典文 泰文 法文 Literal English Bukvalni Srpski 印尼文
Icon th185.png TH18.5 100th Black Market 英文 簡體中文 European Spanish (Suzunaan Blog translation) 韓文 越南文 俄文 巴西葡萄牙语 泰文 法文 中文(繁體) 瑞典文
Icon th19.png TH19 Unfinished Dream of All Living Ghost 英文 European Spanish (Suzunaan Blog translation) 簡體中文 世界文 西班牙文 Literal English 法文 Bukvalni Srpski 韓文 印尼文 俄文 越南文 中文(繁體) 瑞典文 義大利文
Icon nsml.png NSML New Super Marisa Land 英文 德文 西班牙文 俄文 法文 韓文
Icon megamari.png MegaMari MegaMari 英文 德文 西班牙文 俄文 巴西葡萄牙语 阿拉伯文 韓文
Icon marilega.png MariLega MarisaLand Legacy
  1. 任何時候點擊頁面上網站的標誌就可以回到主頁
    (當然, 你還是可以直接點一下前面的超連結)
  2. 選擇你想翻譯的遊戲。
    右邊有可進行翻譯的遊戲列表以及這些遊戲的各自語言的翻譯進度、完成情況。
  3. 選擇一個你想翻譯的部分。
  4. 點擊頁面上方的小Translate this page標籤 (Translate this page in your language)。

    如果你所在的頁面已經有了翻譯,它會顯示為

    This page is a translated version of the page X and the translation is X% complete.

    這種情況下,第一個連接會把你帶往翻譯介面。

  5. 確保你要翻譯為的語言已經在 Language下拉菜單裡面選定了。
    這會自動被設定為站點的語言。如果你必須要修改的話,別忘了在選擇完以後點擊Fetch
  6. 雙擊訊息框,開始鍵入你的編輯吧。
  7. 點擊“儲存”。
  8. 然後重複步驟六和七直至翻譯完畢。

Things to know

  • If you're translating from another translation (most likely English), be sure to add the wiki page of this translation to your watchlist by clicking the star next to the search bar on the top. This will send you a notification whenever something has been changed and needs to be reflected in your language.
  • If any text of an existing translation (again, most likely English) would not change in your translation, leave the respective box empty and don't copy-paste the text. This way, everyone can take full advantage of patch stacking.
  • Refer to your language's portal page for stylistic guidelines.

Dialog

  • Line breaks are never done automatically. It's up to you to make sure that the text fits into the dialog box.
  • You can always use a maximum of two lines for every message box, even if there is only one line in the original. The opposite is also true. We went to great lengths to make this possible, so please do make use of this. ☺

Endings

Since these do not show up in replays, the patcher can provide an unlimited amount of text lines here.

  • There can always be a maximum of 5 lines at the screen at any time.

Character name translations are automatically taken from the respective translation group.

Editing graphics

Compared to the simple translation of plain text, multilingual image translation requires a rather involved workflow:

  • (Optimally, the original text should be transcribed first.)
  • A basic image editing project needs to be created, erasing the original text, recreating possible backgrounds and selecting appropriate fonts.
  • The required fonts should be noted down so that the editors for other languages can obtain them.
  • The original text needs to be translated.
  • Finally, the translated text needs to be edited into the base image, taking possible sprite boundary limits imposed by the game into account. (As of now, we couldn't change those limits without including the whole ANM file with all its original uncompressed image data, which would unnecessarily bloat the size of the patches.)

Fonts

Fonts should ideally have a sufficiently large Unicode coverage so that the same template can be used across multiple languages.

Unfortunately, the most appropriate fonts often happen to have a rather limited coverage - and finding one that looks similar and has a wider coverage can be an arduous, if not impossible task.

Hence, you don't need to care about this for any other language than your own (but other translators would certainly appreciate it if you did).

A consistent appearance across the languages would surely be nice thing to have, but this is not a requirement or official policy - each language is still free to choose whatever fonts the editors prefer.

If you do care, here's a test string with characters from some of our active languages which might be problematic, for your convenience:

ÁÉÍÓÚÀÈÌÒÙÂÊÄËÏÖÜÃÑÕŐŰĄĘŁŻ
áéíóúàèìòùâêäëïöüãñõőűąęłż
ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ
αβγδεζηθικλμνξοπρστυφχψω
АБВГДЕЖЗИЙКЛМНОӨПРСТУҮФХЦЧШЩЪЫЬЭЮЯ
абвгдежзийклмноөпрстуүфхцчшщъыьэюя
« » “ ” ‘ ’ “ „ …

Efficiently testing translations in-game

Select the skipgame patch in addition to your translation to remove all gameplay sections and reduce spell cards to a few seconds. This leaves only the dialogue and spell card names and allows you to quickly proofread everything without spending time on dodging bullets.

The separate instant_ending allows you to access all endings by making one single gameplay choice in one stage.

Editing Music

Follow the tutorial here.

In-game TL notes

In Team Shanghai Alice games, these can be inserted basically anywhere text is rendered, using the {{Tlnote}} template; check that page for details. Currently not supported for Tasofro games, so don't use the template on their pages!

Italics and bold formatting is not supported, but you could try a Unicode boldness generator for A-Z.

Advanced configuration either in global.js (for all games), <game ID> (for a specific game), or in your runconfig:

{
    "tlnotes": {
        "reference_resolution": [1280, 960], // Valid for all games, even the 640×480 ones. Font and region size are relative to this one. You typically don't need to change this.
        "region_topleft": [x, y],
        "region_size": [width, height],
        "read_speed": 35, // In UTF-8 bytes per second; determines the scrolling speed of longer TL notes that exceed the size of the region. Higher is faster.
        "fade_ms": 500, // Fade-in speed.
        "valign": "top" | "center" | "bottom", // Vertical alignment for notes that are shorter than the height of the TL note region. Default is "bottom".
        "font": "'MS Gothic' 32 0 400 DEFAULT_QUALITY", // Using the same font syntax used for fontrules, explained in https://github.com/thpatch/thcrap/blob/23fd91a/thcrap/src/textdisp.h. Also subject to those same replacement rules.
        "outline_radius": 2, // Capped at 15, because it's drawn on the CPU and actually not that fast, and everything larger just *really* looks bad.
    }
}

To disable TL notes completely, simply add , "tlnotes": "" before the last } of your configuration file, created by thcrap_configure.