Difference between revisions of "User:TidB/wikitranslator"

From Team Fortress Wiki
Jump to: navigation, search
m (update (version 2014-07-12:1))
m (update)
Line 3: Line 3:
 
__TOC__
 
__TOC__
 
<br>
 
<br>
{{hatnote|Latest version: 2014-07-12:1}}
+
{{hatnote|Latest version: 2014-07-18:1}}
  
 
== What is WikiTranslator? ==
 
== What is WikiTranslator? ==

Revision as of 15:22, 18 July 2014

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


Latest version: 2014-07-18:1

What is WikiTranslator?

WikiTranslator is a local Python script that automatically translates common words, phrases and whole sentences in articles. This is especially useful for huge content updates like Scream Fortress 2013 (over 100 cosmetics), which can be translated much faster.

But automated translations are "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. Additionally, WindPower allowed this tool.

Features

  • Translates the first sentence in cosmetic item, weapon and item set pages as well as the optional sentences for community and promotional items.
  • Can translate multiple texts at once
  • Can translate selected parts of the text
  • Fully functional GUI
  • Supports multiple languages
  • Translations are customizable via the selection of functions
  • Selected functions can be saved as presets
  • File importing and exporting
  • Import of all pages in a category
  • Translation of wikilinks and Wikipedialinks, using the Mediawiki API

How do I add my own language?

At the moment, German, Korean and Brazilian is supported. Working on support for Finnish. Thanks to Muriloricci, Themokey and Zabidenu for this! And AgentBull for fixes and suggestions :)

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

Download
You can find the newest version and the code on GitHub. Click on the "Download ZIP" button on the bottom right.

Python 3.3
You need Python 3.3 to run this script. Everything above version number 3 is supported.

Copy the *.py files from the .zip folder into the Python folder.
Read the documentation for more details how to run and use the script.