Bugzilla:L10N:Problems: Difference between revisions

Jump to navigation Jump to search
→‎Grammatical gender: Example changed, thanks to Michael Tosh
(→‎Grammatical gender: Example changed, thanks to Michael Tosh)
Line 10: Line 10:
=== Numeric inflection ===
=== Numeric inflection ===


Currently Bugzilla templates have hardcoded provisions for English: any number not equal to 1 implies plural usage.  Example (''[http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla%2Fwebtools%2Fbugzilla%2Ftemplate%2Fen%2Fdefault%2Fadmin%2Fcomponents%2Fconfirm-delete.html.tmpl&rev=&cvsroot=%2Fcvsroot#108 admin/components/confirm-delete.html.tmpl]''):
Currently Bugzilla templates have hardcoded provisions for English: any number not equal to 1 implies plural usage.   
; Example : ''[http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla%2Fwebtools%2Fbugzilla%2Ftemplate%2Fen%2Fdefault%2Fadmin%2Fcomponents%2Fconfirm-delete.html.tmpl&rev=&cvsroot=%2Fcvsroot#108 admin/components/confirm-delete.html.tmpl]'':


<pre>
<pre>
Line 62: Line 63:
=== Grammatical gender ===
=== Grammatical gender ===


Many languages observe grammatical gender which may affect verb inflection.  In template translation one cannot rely on ''terms.bug'' having certain gender.  Example (''[http://bugzilla-es.cvs.sourceforge.net/bugzilla-es/es_ES/2.18/default/bug/create/created.html.tmpl?view=markup#l_24 bug/create/created.html.tmpl]''):
Many languages observe grammatical gender which may affect verb inflection.  In template translation one cannot rely on ''terms.bug'' having certain gender.   
; Example : Bugzilla-es ''[http://bugzilla-es.cvs.sourceforge.net/bugzilla-es/es_ES/2.18/default/global/user-error.html.tmpl?view=markup#l_118 default/global/user-error.html.tmpl]'':


<pre>
<pre>
[% PROCESS global/header.html.tmpl
  [% ELSIF error == "bugs_not_changed" %]
  title = "El $terms.Bug $id ha sido enviado"
    [% title = BLOCK %]Los [% terms.bugs %] no han cambiado[% END %]
%]
    Parece que no se ha realizado ningún cambio en los [% terms.bugs %] seleccionados.
</pre>
</pre>


This is correct when ''terms.bug'' is defined as '''bug''' or any other masculine noun.  However, with '''petición''' (request) it should read ''La $terms.Bug''.
This is correct until ''terms.bug'' is defined as '''bug''' or any other masculine noun.  However, with '''petición''' (request) it should read ''...las $terms.bugs seleccionadas''.


== UTF-8 ==
== UTF-8 ==
118

edits

Navigation menu