Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Help:Language translation: Difference between revisions

Help page
m forgotten a language :(
No edit summary
Line 11: Line 11:
# Place <code><nowiki>{{DISPLAYTITLE:abcxyz}}</nowiki></code> at the very top of the page to translate the page's title.
# Place <code><nowiki>{{DISPLAYTITLE:abcxyz}}</nowiki></code> at the very top of the page to translate the page's title.
#* For example, <code><nowiki>{{DISPLAYTITLE:Instalación}}</nowiki></code> will properly change the page name to <code>Instalación</code> while keeping the URL be <code>Installation/es</code>.
#* For example, <code><nowiki>{{DISPLAYTITLE:Instalación}}</nowiki></code> will properly change the page name to <code>Instalación</code> while keeping the URL be <code>Installation/es</code>.
#* Do not add more than one new line, or else there'll be awkward padding at the top of the page.
# You can start translating the page!
# You can start translating the page!
#* Whenever possible, refer to the in-game translations and localization files for any official translated terms.
#* Whenever possible, refer to the in-game translations and localization files for any official translated terms.
# Change every single links and categories to properly link to the right place.
# Change every single links and categories to properly link to the right place.
#* If there is a link to <code><nowiki>[[Troubleshooting]]</nowiki></code> while translating the page, you'd want to add a pipe character <code><nowiki>[[Troubleshooting/fr|Dépannage]]</nowiki></code> to make the link redirect to the translated page while showing the page's translated title: [[Troubleshooting/fr|Dépannage]]
#* If there is a link to <code><nowiki>[[Troubleshooting]]</nowiki></code> while translating the page, you'd want to add a pipe character <code><nowiki>[[Troubleshooting/fr|Dépannage]]</nowiki></code> to make the link redirect to the translated page while showing the page's translated title: [[Troubleshooting/fr|Dépannage]]
#* If there's already a pipe character <code><nowiki>[[Troubleshooting|click here]]</nowiki></code>, just translated what's after it: <code><nowiki>[[Troubleshooting/fr|cliquez ici]]</nowiki></code>
#* If there's already a pipe character <code><nowiki>[[Troubleshooting|click here]]</nowiki></code>, just translate what's after it: <code><nowiki>[[Troubleshooting/fr|cliquez ici]]</nowiki></code>
#* If there is a link to a section <code><nowiki>[[Troubleshooting#See also]]</nowiki></code>, you'd want to change what's after the number sign to properly link to the existing section of the linked translated page: <code><nowiki>[[Troubleshooting/fr#Voir aussi]]</nowiki></code>
#* If there is a link to a section <code><nowiki>[[Troubleshooting#See also]]</nowiki></code>, you'd want to change what's after the number sign to properly link to the existing section of the linked translated page: <code><nowiki>[[Troubleshooting/fr#Voir aussi]]</nowiki></code>
#* If there's an interwiki link <code><nowiki>[[tf:Scattergun]]</nowiki></code> or <code><nowiki>[[wikipedia:Wall]]</nowiki></code>, if possible please change it to link to the translated version of the page: <code><nowiki>[[tf:Scattergun/fr]]</nowiki></code> or <code><nowiki>[[wikipedia:fr:Mur]]</nowiki></code>
#* If there's an interwiki link <code><nowiki>[[tf:Scattergun]]</nowiki></code> or <code><nowiki>[[wikipedia:Wall]]</nowiki></code>, if possible please change it to link to the translated version of the page: <code><nowiki>[[tf:Scattergun/fr]]</nowiki></code> or <code><nowiki>[[wikipedia:fr:Mur]]</nowiki></code>
Line 22: Line 23:
#** If it's a link to the official TF2 Classic Discord, please add a mention that it is English-only.
#** If it's a link to the official TF2 Classic Discord, please add a mention that it is English-only.
#* If there is a category <code><nowiki>[[Category:Gamemodes]]</nowiki></code>, you'd just want to add the language code in there: <code><nowiki>[[Category:Gamemodes/de]]</nowiki></code>
#* If there is a category <code><nowiki>[[Category:Gamemodes]]</nowiki></code>, you'd just want to add the language code in there: <code><nowiki>[[Category:Gamemodes/de]]</nowiki></code>
This procedure is identical to the procedure to translate a page on the TF2 Wiki.
This procedure is identical to the procedure of translating a page on the TF2 Wiki.


If done correctly, the translated page should automatically show up on the sidebar. See [[TF2Classic Wiki:Language test]] to see it in action.
If done correctly, the translated page should automatically show up on the sidebar. See [[TF2Classic Wiki:Language test]] to see it in action.
Line 28: Line 29:
== List of supported languages ==
== List of supported languages ==


The wiki supports every languages that Steam and the Source Engine supports. However, only a fraction have an official translation for TF2 Classic. It is advised to not translate any pages to a language which TF2 Classic hasn't been translated to. If you wish, you can apply to translate TF2 Classic to your language on the official Discord.
The wiki supports every languages that Steam and the Source Engine supports. However, only a fraction have an official translation for TF2 Classic. It is advised to not translate any pages to a language which TF2 Classic hasn't been translated to. If that's the case, and if you feel like it, you can apply to translate TF2 Classic to your language by asking nicely on [https://discord.gg/3zMk4vn our official Discord server].


{| class="wikitable grid" style="margin-top:1em;"
{| class="wikitable grid" style="margin-top:1em;"