Difference between revisions of "User:TidB/wikitranslator"

From Team Fortress Wiki
Jump to: navigation, search
m (update)
m (Updated; using a more generic releases link now, added 123rse, made Tark green)
 
Line 3: Line 3:
 
__NOTOC__
 
__NOTOC__
 
<br>
 
<br>
{{hatnote|[https://github.com/TidB/wikitranslator/releases/tag/v4 Download the latest version here!]}}
+
{{hatnote|[https://github.com/TidB/wikitranslator/releases/ Download the latest version here!]}}
  
 
[[File:User TidB WT Screenshot.png|800px|thumb|wikitranslator on Windows 10. The article is translated into German.|right]]
 
[[File:User TidB WT Screenshot.png|800px|thumb|wikitranslator on Windows 10. The article is translated into German.|right]]
Line 43: Line 43:
 
|-
 
|-
 
| Korean ({{code|ko}})
 
| Korean ({{code|ko}})
| [[User:Themokey|Themokey]]
+
| [[User:Themokey|Themokey]], [[User:123rse|123rse]]
 
|-
 
|-
 
| Dutch ({{code|nl}})
 
| Dutch ({{code|nl}})
Line 49: Line 49:
 
|-
 
|-
 
| Brazilian Portuguese ({{code|pt-br}})
 
| Brazilian Portuguese ({{code|pt-br}})
| [[User:Muriloricci|Muriloricci]], [[User:Tark|Tark]]
+
| [[User:Muriloricci|Muriloricci]], [[User:Tark|<span style="color: #5BC236">Tark</span>]]
 
|-
 
|-
 
| Russian ({{code|ru}})
 
| Russian ({{code|ru}})
Line 63: Line 63:
 
== Download & installation ==
 
== Download & installation ==
 
=== Windows ===
 
=== Windows ===
# Download either {{code|wikitranslator.zip}} (faster startup time) or {{code|wikitranslator.exe}} (slower startup time) from [https://github.com/TidB/wikitranslator/releases/tag/v4 the downloads page].
+
# Download either {{code|wikitranslator.zip}} (faster startup time) or {{code|wikitranslator.exe}} (slower startup time) from [https://github.com/TidB/wikitranslator/releases/ the downloads page].
 
# If you're using the {{code|.zip}} download, extract it into some folder
 
# If you're using the {{code|.zip}} download, extract it into some folder
 
# Run {{code|wikitranslator.exe}}
 
# Run {{code|wikitranslator.exe}}

Latest revision as of 08:56, 12 April 2019

User TidB Command.png User TidB WT Loc.png User TidB WT Template.png
wikitranslator Localization Localization template


Download the latest version here!
wikitranslator on Windows 10. The article is translated into German.

The wikitranslator is a tool that automatically translates common words, phrases and whole sentences in articles. This is especially useful for huge content updates with many page that can be translated much faster.

Aren't automated translations "strictly prohibited"?

This rule does only apply on services like Google Translate which translate a text word for word; this script adds previously translated sentences to the text. Oh, and it's allowed anyway.

Features

  • Translations of the first sentence in item (set) pages as well as the optional sentences for community and promotional items.
    • Also includes set contents, update history, levels, categories and flags as well as thumbnail descriptions.
  • Translation of headings
  • Automatic addition of {{DISPLAYTITLE}}
  • These features are available if the option 'Use TF Wiki connection to improve translations' is selected:
    • Translation of wikilinks and Wikipedia links
    • Localization of sounds in quotations
    • Translation of {{Main}} and {{See also}} templates

Supported languages

Language Translator
Danish (da) Faghetti V.2
German (de) AgentBull, TidB
Finnish (fi) Zabidenu
French (fr) Nicolapps
Italian (it) Bandicoot0123
Korean (ko) Themokey, 123rse
Dutch (nl) CaptainCookieCrunch!
Brazilian Portuguese (pt-br) Muriloricci, Tark
Russian (ru) Pepsone
Turkish (tr) Cagrimanoka

How do I add another language?

Read the localization page first. There are a lot of strings to add and sometimes it is a bit tricky. If you have any questions, feel free to contact me.

Download & installation

Windows

  1. Download either wikitranslator.zip (faster startup time) or wikitranslator.exe (slower startup time) from the downloads page.
  2. If you're using the .zip download, extract it into some folder
  3. Run wikitranslator.exe

Other systems

  1. Install Python 3 or later
  2. Install the 'requests' library (installation instructions can be found there)
  3. Install the 'mwparserfromhell' library (installation instructions are in the README below)

  4. Download the sources however you like (cloning the repo, downloading the .zip) and run gui.py