Creating translations: Difference between revisions
From TF2 Classified Wiki
More actions
Ratboy Slim (talk | contribs) Added "setting in-game language" |
No edit summary |
||
| (17 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<i>If you wanted to change your in-game language and not help translate yourself, go to [[Changing languages]]</i> | |||
Read these instructions in order to start translating TF2 Classic into your own language. | Read these instructions in order to start translating TF2 Classic into your own language. | ||
If you're looking to start or update a translation, contact the developers first. This avoids the problem of wasting your time updating a translation that's already been submitted by someone else. | |||
This guide will assume you know a minimum in file editing and modding in the Source Engine. | This guide will assume you know a minimum in file editing and modding in the Source Engine. | ||
| Line 5: | Line 9: | ||
== Setting in-game language == | == Setting in-game language == | ||
Under your Steam library, make sure you are viewing "Games and Tools". Then, right click on "Source SDK Base 2013 Multiplayer" | Under your Steam library, make sure you are viewing "Games and Tools". Then, right click on "Source SDK Base 2013 Multiplayer" (''not'' "Team Fortress 2 Classic") and click the "Properties..." button. You will see a language tab. Select your language, and ''then'' launch Team Fortress 2 Classic. The game will launch in your selected language. | ||
For a more in-depth guide, go to go to [[Changing languages#Changing In-Game Language|Changing languages]] | |||
[[File:Language selection menu.webp|none|left|800px|alt=Steam's language selection menu, under "Source SDK Base 2013 Multiplayer".]] | [[File:Language selection menu.webp|none|left|800px|alt=Steam's language selection menu, under "Source SDK Base 2013 Multiplayer".]] | ||
| Line 11: | Line 17: | ||
== Picking the language == | == Picking the language == | ||
TF2 Classic can only support languages that are supported by the Source Engine. Any other languages would be unable to load. Here | TF2 Classic can only support languages that are supported by the Source Engine. Any other languages would be unable to load. Here are the currently supported languages their update status. | ||
{| class="wikitable sortable grid" style="margin-top:1em;" | |||
{| class="wikitable grid" style="margin-top:1em;" | |||
|- | |- | ||
| | ! class="header" | Name of Language | ||
! class="header" | Supported Version | |||
|- | |- | ||
| {{#language: | | {{#language:bg|{{PAGELANGUAGE}}}} || Partially Supported up to Version [[2.2.0]] (missing some content) | ||
|- | |- | ||
| | | {{#language:de|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| {{#language: | | {{#language:en|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| | | {{#language:es|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| {{#language: | | {{#language:fi|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| {{#language: | | {{#language:fr|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| | | {{#language:hu|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| | | {{#language:it|{{PAGELANGUAGE}}}} || Supported up to Version [[2.0.0]] | ||
|- | |- | ||
| | | {{#language:pl|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| {{#language: | | {{#language:pt|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| {{#language: | | {{#language:pt-br|{{PAGELANGUAGE}}}} || Fully Supported <!-- the long string of code just makes the language name change for translations of this article --> | ||
|- | |- | ||
| {{#language: | | {{#language:ro|{{PAGELANGUAGE}}}} || Supported up to Version [[2.1.0]] | ||
|- | |- | ||
| {{#language: | | {{#language:ru|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| | | {{#language:th|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| {{#language: | | {{#language:uk|{{PAGELANGUAGE}}}} || Supported up to Version [[2.1.0]] | ||
|- | |- | ||
| | | {{#language:zh-hans|{{PAGELANGUAGE}}}} || Fully Supported | ||
|- | |- | ||
| {{#language:zh-hant|{{PAGELANGUAGE}}}} || Supported up to Version [[2.1.0]] | |||
| {{#language:zh- | |||
|- | |- | ||
|} | |} | ||
If you're looking to | The Source Engine currently supports 27 total languages however ''Team Fortress 2 Classic'' does not. The languages without translation are: {{#language:ar|{{PAGELANGUAGE}}}}, {{#language:cs|{{PAGELANGUAGE}}}}, {{#language:da|{{PAGELANGUAGE}}}}, {{#language:el|{{PAGELANGUAGE}}}}, {{#language:es-419|{{PAGELANGUAGE}}}}, {{#language:ja|{{PAGELANGUAGE}}}}, {{#language:ko|{{PAGELANGUAGE}}}}, {{#language:nl|{{PAGELANGUAGE}}}}, {{#language:no|{{PAGELANGUAGE}}}}, {{#language:sv|{{PAGELANGUAGE}}}}, {{#language:tr|{{PAGELANGUAGE}}}} and {{#language:vi|{{PAGELANGUAGE}}}}. | ||
If you're looking to start or update a translation, contact the developers first. This avoids the problem of wasting your time updating a translation that's already been submitted by someone else. | |||
== Starting the translation == | == Starting the translation == | ||
| Line 86: | Line 69: | ||
It is a command prompt utility made in C# to generate a bare translation base using other game lines as a base. | It is a command prompt utility made in C# to generate a bare translation base using other game lines as a base. | ||
To use it, you must first configure the config.json file to make it point to your games' locations. Then, open a command prompt in the location of the utility, and type the following, with | To use it, you must first configure the config.json file to make it point to your games' locations. Then, open a command prompt in the location of the utility, and type the following, with {{code|<langcode>}} replaced with the language name according to the file name (see above, for example {{code|schinese}}). | ||
<pre>Translatron tf2classic <langcode></pre> | <pre>Translatron tf2classic <langcode></pre> | ||
Once the command finishes successfully, a | Once the command finishes successfully, a {{code|translation}} folder should appear within the custom folder of your game, containing your language file. At this point, you can start translating any missing lines marked with "TODO". | ||
List of different possible situations: | List of different possible situations: | ||
| Line 108: | Line 91: | ||
* If you're done, test out your translation in-game. Quickly recheck each lines for any problems or grammar errors. | * If you're done, test out your translation in-game. Quickly recheck each lines for any problems or grammar errors. | ||
* Certain weapon descriptions are direct quotes from in-game voicelines. If your language got the voicelines translated, use those. | * Certain weapon descriptions are direct quotes from in-game voicelines. If your language got the voicelines translated, use those. | ||
* | * {{code|TF_Unique_Prepend_Proper}} contains the translation for "The", but it does not support multiple translations for different genders. If this is the case for your language, you might want to leave it empty, and instead not have "The" at all. | ||
* The loading screen tips were shuffled a bit between TF2 Classic and Live TF2. If a tip at a number seems to be entirely different in Live TF2, check if the tip itself exists on another line before translating it. | * The loading screen tips were shuffled a bit between TF2 Classic and Live TF2. If a tip at a number seems to be entirely different in Live TF2, check if the tip itself exists on another line before translating it. | ||