Python script for Mediawiki translation
- Status: Closed
- Præmier: $150
- Modtagne indlæg: 6
- Vinder: soccerjustinh1
Konkurrence Instruktioner
This contest is to produce a Python script that can read mediawiki markup text files containing documentation (it will be custom documentation) and, using Google Cloud Translation service, translate them into a defined set of languages.
References:
https://cloud.google.com/translate/
https://www.mediawiki.org/wiki/Help:Formatting#Text_formatting_markup
Constraints:
There are certain parts of the markup that should not be sent for translation:
- Internal links references, only the descriptions: [[This is the reference|this is the description]]
- Internal links to templates: [[Template:openextensions]]
- Images markup: ;[[Image:Image-reference]]
- Templates such as: {note}{/note} {warning}{/warning}
- TOC: __TOC__
Additional details:
- The script should allow for the identification of more than one input file (relative path)
- The script should allow for the identification of more than one language
- Input files names contain the English title (e.g "This is the title.txt" )
- Each language should have its own output file, and the form of the English title appended with the locale/language code (e.g. "This is the title-es.txt")
Acceptance criteria:
- Once you have submitted script to the contest, we will send you a series of input files to test, and then we will verify the outputs
Anbefalede færdigheder
Arbejdsgiverfeedback
“Smart work + really great communication. Nice to work with.”
groter, Canada.
Bedste indlæg fra denne konkurrence
-
soccerjustinh1 Australia
-
sambit1997 India
-
hollan86 Tanzania, United Republic of
-
smlamod Philippines
Offentlig Præciserings Opslagstavle
Sådan kommer du i gang med konkurrencer
-
Opret din konkurrence Hurtigt og nemt
-
Få tonsvis af indlæg Fra hele verden
-
Tildel det bedste indlæg Download filerne - Nemt!