I can tell you that languages can be so different that even simple<br>assumptions are no longer valid. <br><br>For example, most languages in Europe have a singular and plural,<br>at least those of Indo European origin. For English, adding &quot;s&quot; or &quot;es&quot;
<br>is sufficient in most cases, and if you want to do a porter stemmer,<br>you take that out (oversimplifying, but you get the idea).<br><br>In Arabic, there is singular, dual and plural. And then there is masculine<br>and feminine version of each of those. So the assumptions made for
<br>English no longer carries over well to Arabic. <br><br><div><span class="gmail_quote">On 5/3/07, <b class="gmail_sendername">Walt Daniels</b> &lt;<a href="mailto:wdlists@optonline.net">wdlists@optonline.net</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I doubt if the &quot;th&quot; concept even exists in many languages. Not being a<br>language scholar I can&#39;t give explicit examples. It is usually possible to
<br>word messages so you don&#39;t use the &quot;th&quot; concept. This seems like a better<br>approach.<br><br>-----Original Message-----<br>From: <a href="mailto:development-bounces@drupal.org">development-bounces@drupal.org
</a> [mailto:<a href="mailto:development-bounces@drupal.org">development-bounces@drupal.org</a>]<br>On Behalf Of Earnie Boyd<br>Sent: Thursday, May 03, 2007 8:56 AM<br>To: <a href="mailto:development@drupal.org">development@drupal.org
</a><br>Subject: Re: [development] Translatable strings for 1st/2nd/3rd/nth<br><br>Quoting Chris Kennedy &lt;<a href="mailto:chrisken@mail.utexas.edu">chrisken@mail.utexas.edu</a>&gt;:<br><br>&gt; Does anyone have suggestions for creating translatable strings for
<br>rankings?<br>&gt;<br>&gt; I need to generate strings for 1st/2nd/3rd/4th/etc. ideally without a<br>&gt; limit, but don&#39;t know of a simple translatable solution.<br>&gt;<br>&gt; Right now I just have individual t() strings for 1st/2nd/3rd, then a
<br>&gt; blanket t($i .&#39;th&#39;) for the rest, under the untested theory that<br>&gt; translators could manually add translations for Nth into their .po<br>&gt; files up to a reasonable limit. I realize that this will not work for
<br>&gt; extractor.php purposes and is English-centric.<br>&gt;<br>&gt; Thoughts?<br>&gt;<br><br>Are there existing math libraries that might help?&nbsp;&nbsp;Simple solution might be<br>a SQL table that you add the exceptions to &#39;th&#39; to.&nbsp;&nbsp;So the translation for
<br>1 would contain 1st and the translation for 2 would 2nd and your &#39;th&#39;<br>default would be suffixed for everything else.<br><br>Earnie<br><br><br>--<br>No virus found in this incoming message.<br>Checked by AVG Free Edition.
<br>Version: 7.5.467 / Virus Database: 269.6.2/785 - Release Date: 5/2/2007 2:16<br>PM<br><br><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://2bits.com">2bits.com</a><br><a href="http://2bits.com">http://2bits.com
</a><br>Drupal development, customization and consulting.