Menu

Localization

Anonymous

Localization

PyScripter uses gettext for creating localizing the user interface. The files that contains the strings be translated is located in the directory:

C:\Program Files[PyScripter](PyScripter)\locale assuming that PyScripter is located at C:\Program Files[PyScripter](PyScripter)\. There are two files of interest to translators in that directory:

  • default.po
  • languages.po

The first contains the strings of PyScripter and the second the localized names of different languages. To create a translation for a new language:

  1. Create a new directory C:\Program Files[PyScripter](PyScripter)\locale\##\LC_MESSAGES\

In this path, ## represents the two-letter ISO 639-1 language code.

  1. Copy the two po files in that directory
  2. Translate the two files using a gettext editor. Poedit is the recommended editor.
  3. Compile the po files to mo files (Poedit can do that) and you are set. Use the View Menu to change the language and test your translation.
  4. Please submit your translation files to pyscripter@gmail.com for inclusion in the next PyScripter distribution.

Tip: Use the translation memory of Poedit to speed up the translation process.


Related

Home: Home
Wiki: PyScripter
Wiki: Sidebar

Discussion

  • Anonymous

    Anonymous - 2009-07-24

    Originally posted by: fchevita...@gmail.com

    How can i configure the codecompletition for Django ?

     

    Last edit: Anonymous 2019-01-24
  • Anonymous

    Anonymous - 2012-10-27

    Originally posted by: karsten....@gmail.com

    Did someone made a German translation?

     

    Last edit: Anonymous 2019-01-24

Log in to post a comment.