You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2006/09/07 12:44:34 UTC
DO NOT REPLY [Bug 38413] - i18n substitution is broken for templated publications
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38413>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38413
------- Additional Comments From pol-admin@uni-duisburg.de 2006-09-07 10:44 -------
(In reply to comment #12)
> (In reply to comment #11)
> > (In reply to comment #10)
> > > Thanks - I applied the patch. Please verify if it works now.
> >
> > the original patch worked, but the later change of the fallback
> > uris broke it again.
>
> The original patch didn't work for me. Maybe someone else could try it. Thanks!
i have just done the following:
svn update, clean rebuild (i.e. containing your version with "/lenya/" in the
i18n.xmap paths.
moved the language resources in my 2 pubs A and B from ./resources/i18n to
./lenya/resources/i18n. the inheritance is as follows: default is a template for
A, which is a template for B. both A and B have their own catalogues. only A
provides a catalogue.xsp.
now the i18n in my custom pubs works, but the core stuff is broken: the lenya
menu shows "untranslated".
when i change the paths in i18n.xmap to my original proposal "./resources" (as
opposed to ./lenya/resources" and move the resources in my custom pubs back, i
can make i18n work for both core (i.e. lenya cms menus), A and B.
i don't know why this is so, but since it works, i'm not going to investigate
further. eventually i18n transforming could use a rewrite, but not today. for
now i suggest to revert to my original patch and move the i18n resources in the
default pub from ./lenya/resources/i18n to ./resources/i18n
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org