[Koha-bugs] [Bug 2744] Localisation bug: Enable changing the variable order in translated strings

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Sat Nov 29 14:58:29 CET 2008


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2744


axelb at skolelinux.no changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |axelb at skolelinux.no




------- Comment #1 from axelb at skolelinux.no  2008-11-29 05:58 -------
An example from staff:
%s, %s

The comment says:
#. %1$s: TMPL_VAR name=borrowername
#. %2$s: TMPL_VAR name=borrowerfirstname

Some countries uses first name first, some last name first (for instance Asian
vs European standards), so this ought to be interchangeable. 

Same problem also with these (one string per line):
› Checking out to %s, %s (%s)
<a1> %s, %s </a> (%s)
<a1> %s, %s</a> (%s)
<a1>%s %s </a> has too many holds.
<a1>%s %s </a>'s
<a1>%s %s</a> &rsaquo;
<a1>%s, %s %s</a> (%s)
<a1>%s, %s</a> (%s)
<a1>Checkouts</a> &rsaquo; %s %s
<a1>Home</a> &rsaquo; <a2>Patrons</a> &rsaquo; Account for %s %s
<a1>Home</a> &rsaquo; <a2>Patrons</a> &rsaquo; Pay Fines for %s %s
<a1>Home</a> &rsaquo; <a2>Patrons</a> &rsaquo; Reading Record for %s %s
<a1>Home</a> &rsaquo; <a2>Patrons</a> &rsaquo; Set Privileges for %s, %s
... and probably many more, these are just for the string 0--800!

Some other random examples:
<b><a1> %s</a></b> : %s : %s
<b>%s results found</b> %s
<b>%s</b> - <a1>%s</a>
%S into an application %s %s
%s %s %s %s (%s)
%s items modified : datelastseen set to %s

. %s %s reviewed your request today, and has decided not to accept the 
suggestion at this time. The reason given is: %s If you have any questions, 
please email us at %s. Thank you, %s

%s %s %s does not currently have an image available. To import an image for %
s %s, enter the name of an image file to upload.

Depending on what the last %s is it could be more correct in some languages to
change the order of the first and the second (or the third) %s. 

Please make this possible overall, or at least where the difference could be
significant.

... and why sometimes %S and sometimes %s?
The variations above shows that there are far to many strings that are almost
the same for the exact same purpose, these are duplicating our efforts
unnecessarily.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Koha-bugs mailing list