Blame platform-overview/oc/dev-translate.page

Packit 1470ea
Packit 1470ea
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="dev-translate" xml:lang="oc">
Packit 1470ea
Packit 1470ea
  <info>
Packit 1470ea
    <link type="guide" xref="index" group="translate"/>
Packit 1470ea
    <link type="next" xref="dev-translate-setup"/>
Packit 1470ea
    <revision version="0.1" date="2013-06-19" status="review"/>
Packit 1470ea
Packit 1470ea
    <credit type="author copyright">
Packit 1470ea
      <name>Michael Hill</name>
Packit 1470ea
      <email its:translate="no">mdhillca@gmail.com</email>
Packit 1470ea
      <years>2013</years>
Packit 1470ea
    </credit>
Packit 1470ea
Packit 1470ea
    <include xmlns="http://www.w3.org/2001/XInclude" href="cc-by-sa-3-0.xml"/>
Packit 1470ea
Packit 1470ea
    <desc>Localization for user-visible application content.</desc>
Packit 1470ea
  </info>
Packit 1470ea
Packit 1470ea
  <title>Translations</title>
Packit 1470ea
Packit 1470ea
  <links type="series" style="floatend">
Packit 1470ea
    <title>Set up translations</title>
Packit 1470ea
  </links>
Packit 1470ea
Packit 1470ea
  

You can make your application translatable into other languages using

Packit 1470ea
  <app href="http://freedesktop.org/wiki/Software/intltool/">intltool</app>
Packit 1470ea
  and
Packit 1470ea
  <app href="http://www.gnu.org/software/gettext/manual/gettext.html">gettext</app>.

Packit 1470ea
Packit 1470ea
  

<app>gettext</app> is the framework for extracting strings from a source

Packit 1470ea
  file. <app>intltool</app> extracts translatable strings from other files,
Packit 1470ea
  such as desktop files and UI files, then merges them back into the XML and
Packit 1470ea
  desktop files with the strings from the source code.

Packit 1470ea
Packit 1470ea
  

You should use ngettext for translation of strings with

Packit 1470ea
  plurals.

Packit 1470ea
Packit 1470ea
  

For more information about translating GNOME projects, see the GNOME

Packit 1470ea
  <link href="https://wiki.gnome.org/TranslationProject/DevGuidelines">Translation
Packit 1470ea
  Project</link>.

Packit 1470ea
</page>