Skip to content

Translations of MasterLeague.net

Notifications You must be signed in to change notification settings

masterleague-net/translations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

MasterLeague.net translations

This repository contains user-contributed translations of MasterLeague.net.

Repository structure

The file with strings used on the website in the source language (English) is called django.pot (where t stands for template), and user-contributed translations (files called django.po) are located inside the locale/xx/LC_MESSAGES directories, where xx is the corresponding ISO 639-1 language code (e.g. de for German, fr for French, etc.):

locale
│
├── django.pot
├── de
│   └── LC_MESSAGES
│       └── django.po
├── ...
│
└── zh_Hant
    └── LC_MESSAGES
        └── django.po

Improving an existing translation

To improve existing translations, you can use GitHub web interface to edit the files. Additionally, it is possible to edit the files using special translation software, which you can run locally on your computer (see the next section).

We recommend to install translation software, as it is much more convenient to use, but web interface is fine for small changes, like replacing one word with another.

  1. Register an new account on GitHub
  2. Open the translation file that you would like to edit, e.g. the German one
  3. Follow the steps described on this help page to make and submit the edits
  4. We will be notified about your changes & will review / deploy them to the website

Contributing a new translation

If you want to contribute a brand new translation, follow the steps below:

  1. Download and install free Poedit translation software
  2. Download django.pot translation template by right clicking on this link and choosing "Save Link As..."
  • If you want to update an existing translation using the translation software, download the translation file (django.po) you want to update instead (see above).
  1. Create a new translation and save it on your hard drive as django.po (check this guide explaning how!)
  2. Upload this file using GitHub interface (preferred) or send it to [email protected]

Be sure to let us know if (and how) you would like to appear on our Credits page!