This patch is a work-in-progress. Markup in params seems clear and stable but in-place 
translation has not been much discussed.
Solutions are :
1. 
<i18n:choose>
  <i18n:when test="en">Hello</i18n:when>
  <i18n:when test="ru">Привет</i18n:when>
  <i18n:otherwise>...</i18n:otherwise>
</i18n:choose>

2.
<i18n:if locale="en_US">Program</i18n:if>
<i18n:if locale="en_GB">Programm</i18n:if>

perhap's the both must be implemented ? 
I think a default translation is needed so i'll change my implementation for solution 
2 tomorrow and finish this patch to merge with current cocoon (also updating the doc 
which must change a little). 

Any feedback/criticism appreciated.

P.S: what is the preferred format for submission of large patches (apart from diff -u)?
-- 
"Black holes are where God divided by zero." - Steven Wright

MaT|TaM

Attachment: msg14830/pgp00000.pgp
Description: PGP signature

Reply via email to