How to add a new Language

SE|PY support multilanguage i18n, using the standard gettext files (.mo)
Some languages are already available with the standard installation, thanks to various developers who made the translations. But if your language is not listed in the availables languages (under preference panel) you can easily add a new one.
Just follow these steps:

  1. Download and install poEdit from http://poedit.sourceforge.net/
  2. Locate the SEPY installation dir on your hard disk and open SEPY_en.po
  3. Download the mki18n.zip maker ( it’s an executable compiled from a python script )

Now, let’s say you want to translate sepy in “Italian”.

  1. Rename SEPY_en.po file into SEPY_it.po.
  2. Open SEPY_it.po file with poEdit, make all the translations (please note that for some translation such as Overview, PREF_PAGE4_HELP1 and all the others with all CAPS characters, you need to translate not the left side, but the right side)
  3. Save the file and copy it into the same folder where you unzipped the mki18n.zip file.
  4. Open command prompt and go to the folder where you extracted mki18n.exe. Type the command:
    mki18n.exe -m -e -v –domain=SEPY

and if everything works correct you should see a new “locale” directory created with this content:

/locale/it/LC_MESSAGES/SEPY.mo

  1. In this folder create an empty file “tips.txt”
  2. Copy the folder “it” into your sepy installed directory “locale”
    for example: C:\program files\SEPY\locale\ < -- here put the "it" folder
  3. Restart SEPY and see if in the preference panel your language appears.

This article refers to versions above 1.0.6.3

3 Responses to “How to add a new Language”

  1. SE|PY, the editor, the blog Says:

    [...] P.S. If you want to translate sepy in your language follow this article [...]

  2. Pedram Says:

    Hi,
    How to Create New language File, For Example : Farsi(Persian)
    tnx.

  3. sephiroth Says:

    I think the explanation in this article is quite clear.
    Which step can’t you understand?