#54 Support translation

v0.2
open
None
5
2010-03-30
2009-02-09
No

Hi,

I would like to translate the plugin in French. Is there a .pot file, listing all strings to translate?

Thanks.

Discussion

  • Michael Zeising

    Michael Zeising - 2010-03-30
    • assigned_to: nobody --> m_zeising
    • summary: Translation in French --> Support translation
     
  • Jean-Philippe Fleury

    We could start by creating a template file:

    $ mkdir GeditLaTeXPlugin/locale
    $ touch GeditLaTeXPlugin/locale/GeditLaTeXPlugin.pot
    $ xgettext -j -o GeditLaTeXPlugin/locale/GeditLaTeXPlugin.pot -L Glade GeditLaTeXPlugin/glade/*.glade

    The file `GeditLaTeXPlugin.pot` will contain all translatable strings. Then, to add a translation, just copy this template file and copy it in

    `GeditLaTeXPlugin/locale/LANG/LC_MESSAGES/GeditLaTeXPlugin.po`

    where `LANG` is the lang code, for example:

    `GeditLaTeXPlugin/locale/fr/LC_MESSAGES/GeditLaTeXPlugin.po`

    Then all strings will be translatable in French in this file.

    Call to gettext must be added in some python files too.

    I can help. Are you interested?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks