From $1
    Table of contents

    Introduction

    MonoDevelop has chosen to use gettext instead of resources for translating into other languages. This allows us to take advantage of GNOME translators' familiarity with gettext.

    Developers

    Instead of using a string directly in your code, you just need to pass it to gettext which returns the translated string to you.

    1. Remember to encase all user-visible strings like so:
      • GettextCatalog.GetString ("user-visible string")
      • GettextCatalog.GetString ("user-visible string {0}", variable)
    2. Add files with these strings to MonoDevelop/po/POTFILES.in

    Translators

    See Gnome I18N for information about the GNOME translation project. Much of that material will also apply here. In particular:

    Credits, License, and Errata

    Send comments to jluke or the MonoDevelop mailing list

    Licensed under the MIT License

    Tag page
    • No tags

    Files (0)

     
    You must login to post a comment.
    Page last modified 18:23, 25 Jan 2006 by Lluis