Touhou Patch Center: Hướng dẫn dịch

From Touhou Patch Center
Jump to navigation Jump to search
This page is a translated version of the page Touhou Patch Center:Tutorial and the translation is 8% complete.
Project overview

About

Tutorial

FAQ

Download

Patch servers

github.png [https://github.com/thpatch/thcrap/issues

Bug tracker

]

Wiki security

Các dịch giả và việc dịch thuật là nhân tố quan trọng nhất trên trang Touhou Patch Center, do đó chúng tôi đã biến quá trình dịch trở nên dễ dàng nhất có thể.

Register/Logging in

  1. First, create an account by going towards the top right link (or clicking the hyperlink).
    If you already have an account, skip to step two.
  2. Log into your account with your username and password which will be located in the same place the registration was.
    (or click the hyperlink)

Changing the site language

The language of the site interface automatically defaults to the preferred content language set in your browser settings. This setting is also used to set the initial target language in the translation menu. Thus, we recommend changing it to the language you want to translate into - this way, you won't accidentally overwrite existing translations for another language.

To change this setting, click the Language Selector (the button at the top of the page) and enter the native name of your language, or its ISO 639-1 code.

This setting is stored as a cookie and saved to your user account if you're logged in.

Starting a translation into a language not yet on the site

Most of the time, this is no problem. Just select the language like you normally would, and the administration will create the necessary links and portal pages for integration into the Touhou Community Reliant Automatic Patcher shortly after.

In case your desired language is not present in the list, send a message on our Discord server in the #translation channel, and ping the @Webmaster role. Setting up a new language is a very quick process.

Editing text translations

Games Supported Languages with >95% coverage Languages started & in progress
Icon th06.png TH06 Embodiment of Scarlet Devil Tiếng Ả Rập Tiếng Azerbaijan Tiếng Bulgaria Tiếng Chechen Tiếng Đức Tiếng Hy Lạp Tiếng Anh Tiếng Anh (Anh) Google Translate English Literal English Tiếng Quốc Tế Ngữ Tiếng Tây Ban Nha Argentine Spanish Tiếng Pháp Tiếng Croatia Tiếng Hungary Tiếng Indonesia Tiếng Italy Tiếng Hàn Tiếng Ba Lan Tiếng Bồ Đào Nha Brazilian Portuguese Brazilian Portuguese troll translations Tiếng Romania Tiếng Nga Tiếng Sakha Bukvalni Srpski Tiếng Thái Tiếng Tagalog Tiếng Ukraina Tiếng Việt Simplified Chinese Traditional Chinese Tiếng Scots Tiếng Séc 4Kids English Troll translations Yorkshire English Tiếng Phần Lan French troll translations Français québécois (familier oral) Tiếng Luxembourg Tiếng Mã Lai Tiếng Na Uy (Bokmål) Tiếng Hà Lan Tiếng Serbia Tiếng Thụy Điển Toki Pona Tiếng Thổ Nhĩ Kỳ Tiếng Việt (THVNFB translation)
Icon th07.png TH07 Perfect Cherry Blossom Tiếng Ả Rập Tiếng Bulgaria Tiếng Đức Tiếng Hy Lạp Tiếng Anh Tiếng Anh (Anh) Google Translate English Tiếng Quốc Tế Ngữ Tiếng Tây Ban Nha Argentine Spanish Tiếng Hindi Tiếng Croatia Tiếng Hungary Tiếng Indonesia Tiếng Italy Tiếng Hàn Tiếng Nga Tiếng Ba Lan Brazilian Portuguese Brazilian Portuguese troll translations Tiếng Thái Tiếng Ukraina Tiếng Việt Simplified Chinese Traditional Chinese Tiếng Azerbaijan Tiếng Séc 4Kids English Literal English Troll translations Yorkshire English Tiếng Ba Tư Tiếng Phần Lan Tiếng Pháp Tiếng Luxembourg Tiếng Macedonia Tiếng Na Uy (Bokmål) Tiếng Romania Tiếng Bồ Đào Nha Tiếng Scots Tiếng Serbia Bukvalni Srpski Tiếng Thụy Điển Toki Pona Tiếng Thổ Nhĩ Kỳ Tiếng Việt (THVNFB translation)
Icon th075.png TH07.5 Immaterial and Missing Power Tiếng Nga Simplified Chinese Traditional Chinese Literal English
Icon th08.png TH08 Imperishable Night Tiếng Ả Rập Tiếng Bulgaria Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Google Translate English Tiếng Tây Ban Nha Tiếng Hindi Tiếng Hungary Tiếng Italy Tiếng Hàn Tiếng Ba Lan Brazilian Portuguese Tiếng Nga Tiếng Thái Tiếng Việt Simplified Chinese Tiếng Azerbaijan Tiếng Hy Lạp 4Kids English Tiếng Phần Lan Tiếng Pháp Tiếng Indonesia Tiếng Luxembourg Tiếng Hà Lan Tiếng Bồ Đào Nha Tiếng Thụy Điển Tiếng Serbia Bukvalni Srpski Tiếng Tagalog Tiếng Ukraina Traditional Chinese
Icon th09.png TH09 Phantasmagoria of Flower View Tiếng Ả Rập Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Tiếng Pháp Tiếng Hindi Tiếng Hungary Tiếng Hàn Tiếng Ba Lan Tiếng Nga Tiếng Thái Tiếng Ukraina Simplified Chinese Traditional Chinese 4Kids English Literal English Tiếng Tây Ban Nha Tiếng Indonesia Tiếng Italy Tiếng Luxembourg Brazilian Portuguese Bukvalni Srpski Tiếng Thụy Điển Tiếng Việt (THVNFB translation)
Icon th095.png TH09.5 Shoot the Bullet Tiếng Ả Rập Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Tiếng Pháp Tiếng Hindi Tiếng Indonesia Tiếng Hàn Tiếng Ba Lan Tiếng Thái Tiếng Nga Simplified Chinese Traditional Chinese Tiếng Chechen 4Kids English Tiếng Tây Ban Nha Tiếng Italy Tiếng Lojban Tiếng Hà Lan Brazilian Portuguese
Icon th10.png TH10 Mountain of Faith Tiếng Ả Rập Tiếng Bulgaria Tiếng Séc Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Google Translate English Tiếng Quốc Tế Ngữ Tiếng Tây Ban Nha Tiếng Hindi Tiếng Hungary Tiếng Indonesia Tiếng Italy Tiếng Hàn Tiếng Ba Lan Tiếng Bồ Đào Nha Brazilian Portuguese Tiếng Nga Tiếng Thái Tiếng Ukraina Tiếng Việt Simplified Chinese Traditional Chinese 4Kids English Tiếng Hy Lạp Tiếng Phần Lan Tiếng Pháp Tiếng Luxembourg Tiếng Hà Lan Tiếng Romania Tiếng Thụy Điển
Icon alcostg.png UB Uwabami Breakers Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Yorkshire English Tiếng Tây Ban Nha Tiếng Phần Lan Tiếng Indonesia Tiếng Italy Tiếng Hàn Simplified Chinese Tiếng Luxembourg Tiếng Mã Lai Traditional Chinese
Icon th105.png TH10.5 Scarlet Weather Rhapsody Tiếng Đức Tiếng Anh Tiếng Ba Lan Tiếng Nga Tiếng Thái Simplified Chinese Tiếng Pháp Français québécois (familier oral) Tiếng Hàn Tiếng Thụy Điển Tiếng Việt Tiếng Tây Ban Nha
Icon th11.png TH11 Subterranean Animism Tiếng Bulgaria Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Google Translate English Tiếng Tây Ban Nha Tiếng Hindi Tiếng Hungary Tiếng Indonesia Tiếng Hàn Tiếng Ba Lan Tiếng Nga Tiếng Thái Tiếng Ukraina Tiếng Việt Simplified Chinese Traditional Chinese Tiếng Séc 4Kids English Tiếng Hy Lạp Tiếng Quốc Tế Ngữ Tiếng Đức (Thụy Sĩ) Tiếng Phần Lan Tiếng Pháp Tiếng Italy Tiếng Luxembourg Tiếng Hà Lan Brazilian Portuguese Tiếng Thụy Điển Tiếng Việt (THVNFB translation)
Icon th12.png TH12 Undefined Fantastic Object Tiếng Ả Rập Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Google Translate English Tiếng Tây Ban Nha Tiếng Hindi Tiếng Hungary Tiếng Hàn Tiếng Ba Lan Tiếng Nga Tiếng Serbia Tiếng Thái Tiếng Ukraina Tiếng Việt Simplified Chinese Traditional Chinese Tiếng Séc 4Kids English Tiếng Phần Lan Tiếng Pháp Tiếng Indonesia Tiếng Italy Tiếng Luxembourg Brazilian Portuguese Bukvalni Srpski Tiếng Thụy Điển
Icon th123.png TH12.3 Touhou Hisoutensoku Tiếng Anh Tiếng Nga Simplified Chinese Tiếng Đức Tiếng Tây Ban Nha Tiếng Pháp Tiếng Hàn Tiếng Ba Lan Tiếng Thụy Điển Tiếng Thái Tiếng Việt
Icon th125.png TH12.5 Double Spoiler Tiếng Chechen Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Tiếng Tây Ban Nha Tiếng Italy Tiếng Hindi Tiếng Hàn Tiếng Ba Lan Tiếng Nga Tiếng Thái Simplified Chinese 4Kids English Yorkshire English Tiếng Pháp Tiếng Indonesia Tiếng Hungary Tiếng Luxembourg Tiếng Mã Lai Tiếng Hà Lan Brazilian Portuguese
Icon th128.png TH12.8 Fairy Wars Tiếng Chechen Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Google Translate English Tiếng Quốc Tế Ngữ Tiếng Tây Ban Nha Tiếng Hindi Tiếng Hungary Tiếng Italy Tiếng Hàn Tiếng Ba Lan Tiếng Nga Tiếng Thái Tiếng Ukraina Tiếng Việt Simplified Chinese 4Kids English Pirate English Tiếng Pháp Tiếng Hungary Tiếng Indonesia Tiếng Luxembourg Tiếng Hà Lan Brazilian Portuguese Tiếng Thụy Điển
Icon th13.png TH13 Ten Desires Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Tiếng Tây Ban Nha Tiếng Hindi Tiếng Hungary Tiếng Italy Tiếng Hàn Tiếng Ba Lan Tiếng Nga Tiếng Thái Tiếng Ukraina Tiếng Việt Simplified Chinese 4Kids English Yorkshire English Tiếng Hy Lạp Tiếng Phần Lan Tiếng Pháp Tiếng Hindi Tiếng Indonesia Tiếng Italy Tiếng Luxembourg Tiếng Mã Lai Tiếng Hà Lan Tiếng Bồ Đào Nha Brazilian Portuguese Tiếng Thụy Điển
Icon th135.png TH13.5 Hopeless Masquerade Tiếng Anh Tiếng Ba Lan Simplified Chinese Tiếng Đức Tiếng Hàn Tiếng Nga Tiếng Thái Tiếng Việt
Icon th14.png TH14 Double Dealing Character Tiếng Bulgaria Tiếng Séc Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Tiếng Tây Ban Nha Tiếng Hungary Tiếng Indonesia Tiếng Italy Tiếng Hàn Tiếng Ba Lan Tiếng Nga Tiếng Thái Tiếng Ukraina Tiếng Việt Simplified Chinese Tiếng Chechen 4Kids English Pirate English Troll translations Yorkshire English Tiếng Quốc Tế Ngữ Tiếng Phần Lan Tiếng Pháp Tiếng Đức (Thụy Sĩ) Tiếng Hindi Tiếng Luxembourg Tiếng Mông Cổ Tiếng Mã Lai Tiếng Na Uy (Bokmål) Tiếng Hà Lan Tiếng Bồ Đào Nha Brazilian Portuguese Tiếng Thụy Điển Tiếng Klingon Toki Pona Tiếng Việt (THVNFB translation) Traditional Chinese
Icon th143.png TH14.3 Impossible Spell Card Tiếng Ả Rập Tiếng Bulgaria Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Tiếng Hàn Tiếng Nga Tiếng Thái Tiếng Việt Simplified Chinese Tiếng Séc 4Kids English Tiếng Tây Ban Nha Tiếng Phần Lan Tiếng Pháp Tiếng Indonesia Tiếng Italy Tiếng Na Uy (Bokmål) Tiếng Ba Lan Tiếng Bồ Đào Nha Brazilian Portuguese Tiếng Thụy Điển Tiếng Ukraina
Icon th145.png TH14.5 Urban Legend in Limbo Tiếng Đức Tiếng Anh Tiếng Indonesia Tiếng Hàn Tiếng Thái Tiếng Việt Simplified Chinese Tiếng Hindi Brazilian Portuguese Tiếng Thụy Điển
Icon th15.png TH15 Legacy of Lunatic Kingdom Tiếng Ả Rập Tiếng Séc Tiếng Đức Tiếng Anh Tiếng Anh (Anh) Argentine Spanish European Spanish (Suzunaan Blog translation) Tiếng Pháp Tiếng Hàn Tiếng Hungary Tiếng Nga Tiếng Thái Tiếng Ukraina Tiếng Việt Simplified Chinese Traditional Chinese Latin American Spanish (Paradise of Boundaries translation) Tiếng Chechen 4Kids English Tiếng Quốc Tế Ngữ Tiếng Tây Ban Nha Tiếng Tây Ban Nha (Mỹ La tinh) Canadian French Tiếng Indonesia Tiếng Italy Tiếng Bồ Đào Nha Brazilian Portuguese Tiếng Thụy Điển
Icon th155.png TH15.5 Antinomy of Common Flowers Tiếng Ả Rập Tiếng Đức Tiếng Anh Tiếng Hàn Tiếng Thái Tiếng Việt Simplified Chinese Tiếng Chechen Tiếng Tây Ban Nha Tiếng Pháp French troll translations Tiếng Indonesia Brazilian Portuguese Tiếng Romania Tiếng Nga Tiếng Thụy Điển Traditional Chinese
Icon th16.png TH16 Hidden Star in Four Seasons Tiếng Séc Tiếng Đức Tiếng Anh Tiếng Anh (Anh) European Spanish (Suzunaan Blog translation) Tiếng Pháp Tiếng Indonesia Tiếng Hungary Tiếng Hàn Tiếng Nga Tiếng Thái Tiếng Ukraina Tiếng Việt Simplified Chinese Troll translations Tiếng Tây Ban Nha Tiếng Italy Tiếng Bồ Đào Nha Brazilian Portuguese Serbian troll translations Tiếng Thụy Điển
Icon th165.png TH16.5 Violet Detector Tiếng Đức Tiếng Anh European Spanish (Suzunaan Blog translation) Tiếng Pháp Tiếng Hàn Tiếng Nga Tiếng Thái Tiếng Việt Simplified Chinese Traditional Chinese Tiếng Tây Ban Nha Tiếng Indonesia Brazilian Portuguese Tiếng Thụy Điển
Icon th17.png TH17 Wily Beast and Weakest Creature Tiếng Séc Tiếng Đức Tiếng Anh Argentine Spanish European Spanish (Suzunaan Blog translation) Tiếng Pháp Tiếng Hungary Tiếng Indonesia Tiếng Italy Tiếng Hàn Brazilian Portuguese Tiếng Nga Tiếng Ukraina Tiếng Việt Simplified Chinese Latin American Spanish (Paradise of Boundaries translation) Bukvalni Srpski Tiếng Thụy Điển Tiếng Thái Tiếng Tagalog
Icon th175.png TH17.5 Touhou Gouyoku Ibun Tiếng Anh Tiếng Đức Tiếng Tây Ban Nha Tiếng Hàn Brazilian Portuguese Tiếng Việt Simplified Chinese Tiếng Hungary Traditional Chinese Tiếng Pháp Tiếng Nga Tiếng Thụy Điển
Icon th18.png TH18 Unconnected Marketeers Tiếng Séc Tiếng Anh Tiếng Đức European Spanish (Suzunaan Blog translation) Tiếng Italy Tiếng Hàn Tiếng Nga Tiếng Việt Simplified Chinese Latin American Spanish (Paradise of Boundaries translation) Tiếng Bulgaria Literal English Tiếng Pháp Tiếng Hungary Tiếng Indonesia Brazilian Portuguese Bukvalni Srpski Tiếng Thụy Điển Tiếng Thái
Icon th185.png TH18.5 100th Black Market Tiếng Anh European Spanish (Suzunaan Blog translation) Tiếng Hàn Tiếng Việt Simplified Chinese Tiếng Đức Latin American Spanish (Paradise of Boundaries translation) Tiếng Italy Tiếng Pháp Brazilian Portuguese Tiếng Nga Tiếng Thái Tiếng Thụy Điển Traditional Chinese
Icon th19.png TH19 Unfinished Dream of All Living Ghost Tiếng Anh Tiếng Đức European Spanish (Suzunaan Blog translation) Tiếng Quốc Tế Ngữ Tiếng Nga Tiếng Việt Simplified Chinese Latin American Spanish (Paradise of Boundaries translation) Tiếng Italy Literal English Tiếng Tây Ban Nha Tiếng Pháp Tiếng Indonesia Tiếng Hàn Bukvalni Srpski Tiếng Thụy Điển Traditional Chinese
Icon th20.png TH20 Fossilized Wonders Neutral Spanish European Spanish (Suzunaan Blog translation) Tiếng Italy Tiếng Nga Tiếng Việt Simplified Chinese Tiếng Anh Tiếng Tây Ban Nha Latin American Spanish (Paradise of Boundaries translation) Tiếng Ba Lan Tiếng Séc
Icon nsml.png NSML New Super Marisa Land Tiếng Đức Tiếng Anh Tiếng Tây Ban Nha Tiếng Nga Tiếng Pháp Tiếng Hàn
Icon megamari.png MegaMari MegaMari Tiếng Ả Rập Tiếng Đức Tiếng Anh Tiếng Tây Ban Nha Brazilian Portuguese Tiếng Nga Simplified Chinese Tiếng Hàn
Icon marilega.png MariLega MarisaLand Legacy
  1. Go to the main page which can accessed from any page by clicking the logo.
  2. Choose a game you wish to translate.
    On the right, you can see the list of translatable games, their progress in the respective languages, and whether they are finished.
  3. Choose a piece of translatable content you want to work on.
  4. Click on the small Translate this page label at the top of that page.

    If you already are on a translated page, it will instead say

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

    In that case, the first link will bring you to the translation interface and pre-select the page's language.

  5. Verify that the language selector indicates the correct language you want to translate into. The selected language is further reflected with its corresponding flag between the source and translated text,
  6. Click the table rows and enter your translation.
  7. Hit Publish translation.
  8. Then, just follow steps 6 + 7 for the remainder of the boxes.

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.
  • If you're translating in a group, you can make use of the proofreading feature offered by the translation interface:
    • A white proofread icon (✔) will appear for any translation unit that was last edited by another translator.
    • By clicking it, you indicate that you have proofread this translation and agree with it.
    • Proof-read translation units will be highlighted in green, and removed from the Unreviewed view.
    • If a translation changes, any previous proofread markers will be automatically removed.
  • 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:

ÁÉÍÓÚÀÈÌÒÙÂÊÄËÏÖÜÃÑÕŐŰĂĔĞÆŒÅĄĘĖİÇČĢŁŇØŘŞȘŠẞȚÞŻŽ
áéíóúàèìòùâêäëïöüãñõőűăĕğæœåąęėiçčģłňøřşșšßțþżž
ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ
αβγδεζηθικλμνξοπρστυφχψω
АБВГДЕЖЗИЙКЛМНОӨПРСТУҮФХЦЧШЩЪЫЬЭЮЯ
абвгдежзийклмноөпрстуүфхцчшщъыьэюя
« » “ ” ‘ ’ “ „ … ¿ ? ¡ !

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/master/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.