Warning 1, sorry for the SPAM<br><br>What I suggested works only with very atomic expressions, because larger strings are large enough to prevent ambiguity.<br><br>Blessings!<br><br><div class="gmail_quote">2009/7/25 Fernando P. García <span dir="ltr">&lt;<a href="mailto:fernando@develcuy.com">fernando@develcuy.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">BUG :), I forgot the space at the very begin of the string.<br><br>This is the right one:<br>
<br>Example 1:<br><br>$string = &#39;Filtrar&#39; = ltrim(t(&#39;!verb Filter&#39;, array(&#39;!verb&#39; =&gt; &#39;&#39;)));<br>

<br>
Example 2:<br>
<br>
$string = &#39;Filtro&#39; = ltrim(t(&#39;!noun Filter&#39;, array(&#39;!noun&#39; =&gt; &#39;&#39;)));<br><br>Blessings!<br><br><div class="gmail_quote">2009/7/25 Fernando P. García <span dir="ltr">&lt;<a href="mailto:fernando@develcuy.com" target="_blank">fernando@develcuy.com</a>&gt;</span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">great idea,<br><br>This will not need a patch, just for fashion :P.<br><br>So what we need is to agree in some reserved words for  translation:<br>

<br>Example 1:<br><br>$string = &#39;Filtrar&#39; = t(&#39;!verb Filter&#39;, array(&#39;!verb&#39; =&gt; &#39;&#39;));<br>
<br>
Example 2:<br>
<br>
$string = &#39;Filtro&#39; = t(&#39;!noun Filter&#39;, array(&#39;!noun&#39; =&gt; &#39;&#39;));<br><br>Blessings!<div><div></div><div><br><br><div class="gmail_quote">On Sat, Jul 25, 2009 at 10:18 PM, José San Martin <span dir="ltr">&lt;<a href="mailto:jz.sanmartin@gmail.com" target="_blank">jz.sanmartin@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
As a language with poor morphology, English sometimes does not<br>
distinguish verbs from nouns. Filter, Upload, Archive, Link, Update,<br>
Post... and many other words that are used in Drupal. Other languages<br>
are a more morphology-heavy and when we translate Drupal to other<br>
languages this ambiguity may be a problem. Take Upload, for instance.<br>
There is a button &quot;Upload&quot;, but there is also a module &quot;Upload&quot;.<br>
There&#39;s the need to use different words.<br>
<br>
It&#39;s not an exclusivity for noun/verbs, though. &quot;Order&quot; is one thing<br>
in Views, and another thing in Ubercart. The shorter the string, the<br>
easier it is to exist this kind of ambiguity.<br>
<br>
There is already the use in Drupal core of string context. The blank<br>
variable in &quot;!long-month-name May&quot; is used distinguish &quot;May&quot; in the<br>
series &quot;January, February..&quot; to &quot;May&quot; in the series &quot;Jan, Feb...&quot;.<br>
This very pattern could be used elsewhere: &quot;!noun Filter&quot; would be<br>
different from &quot;!verb Filter&quot;, so that we could translate &quot;Filtro&quot; and<br>
&quot;Filtrar&quot;,  respectively, or &quot;Filter&quot; and &quot;filtern&quot;.<br>
<br>
What do you think? Is this a good approach or something more radical<br>
should be done to support contexts? Perhaps a fourth symbol -<br>
#context, instead of &quot;!, @, %&quot;  , to make it mor organized? There is<br>
still time to fix Drupal 7.<br>
<br>
See you,<br>
<font color="#888888"><br>
José San Martin<br>
Brazilian translator<br>
_______________________________________________<br>
translations mailing list<br>
<a href="mailto:translations@drupal.org" target="_blank">translations@drupal.org</a><br>
<a href="http://lists.drupal.org/mailman/listinfo/translations" target="_blank">http://lists.drupal.org/mailman/listinfo/translations</a><br>
</font></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Fernando P. García, <a href="http://www.develcuy.com" target="_blank">http://www.develcuy.com</a><br>Developer - Analista de Sistemas<br>

+51 1 9 8991 7871, Calle Santa Catalina Ancha #377, Cusco -Perú<br>
<br>** Antes de imprimir este mensaje piensa en tu compromiso con el medio ambiente, protegerlo depende de tí. <br>
</font></blockquote></div></div></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Fernando P. García, <a href="http://www.develcuy.com" target="_blank">http://www.develcuy.com</a><br>Developer - Analista de Sistemas<br>
+51 1 9 8991 7871, Calle Santa Catalina Ancha #377, Cusco -Perú<br>
<br>** Antes de imprimir este mensaje piensa en tu compromiso con el medio ambiente, protegerlo depende de tí. <br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Fernando P. García, <a href="http://www.develcuy.com">http://www.develcuy.com</a><br>Developer - Analista de Sistemas<br>+51 1 9 8991 7871, Calle Santa Catalina Ancha #377, Cusco -Perú<br>
<br>** Antes de imprimir este mensaje piensa en tu compromiso con el medio ambiente, protegerlo depende de tí. <br>