Changes

Jump to navigation Jump to search
Line 25: Line 25:     
== Use plural forms ==
 
== Use plural forms ==
Do not assume that all languages have a concept of singular and plural like English. Some languages might have a single form, and some have more than two form. Use [http://www.gnu.org/software/automake/manual/gettext/Plural-forms.html plural forms] via ''ngettext()'' in these cases. Example (from sugar-update-control):
+
Do not assume that all languages have a concept of singular and plural like English. Some languages might have a single form, and some have more than two form. Use [http://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms plural forms] via ''ngettext()'' in these cases. Example (from sugar-update-control):
 
<pre>
 
<pre>
 
                 header = gettext.ngettext("You can install %s update",
 
                 header = gettext.ngettext("You can install %s update",

Navigation menu