Bug 44605 - i18n within a publication does not work
Summary: i18n within a publication does not work
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: i18n (Internationalization) (show other bugs)
Version: Trunk
Hardware: PC Linux
: P2 normal
Target Milestone: 2.0.1
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-14 08:46 UTC by jann forrer
Modified: 2009-02-20 07:55 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jann forrer 2008-03-14 08:46:37 UTC
I just installed a new copy of lenya 2.0 (includgin build.sh clean). After that i18 n does not work anymore as soon as i am within a publication. That means text are not translated and i get "untranslated" for  i18n:attr.

Outsidet the publication e.g. at /lenya/index.html i18n works. 

Any ideas?
Comment 1 jann forrer 2008-03-14 13:28:03 UTC
By the way the menu entries in the authoring are missing!
Comment 2 Joseph Hamilton 2008-04-02 07:29:07 UTC
Problem seems to go away when strictly using the Cocoon included with Lenya.

This is the case with both Release 2.0.0 and a subversion snapshot I took on March 29, 2008.

When using a separate Cocoon 2.1.11, I experienced this problem.  I knew I hadn't experienced this problem before on a fresh install of Lenya 2.0 (release).  So I was rather perplexed why I had run into this when trying to build this via Eclipse.

I have not determined what exactly is required within Cocoon 2.1.11-dev (or Lenya customizations), but it would seem the statement Lenya will work with a free standing Cocoon might be in jeopardy.

Comment 3 Anish 2009-02-20 07:55:33 UTC
As we find in some of the cmsui files (cmsui.xml, cmsui_*.xml - Lenya v2.0.0), xmlns="http://apache.org/cocoon/i18n/2.1" namespace is missing which causes an untranslated error on the interface (an i18n issue). 

Adding this namespace to all of the cmsui.xml/cmsui_*.xml solves the problem.

Same issue is also happening with version 2.0.2 and this solution works for both the versions