Re: LinguaPlone 4.0b1: Translated Home page howto?
Mikel Larreategi <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.internationalization |
|---|---|
| Message-ID | <[email protected]> |
2010/11/24 Johannes Graumann <[email protected]>: > On Tuesday 23 November 2010 10:11:12 Mikel Larreategi wrote: >> 2010/11/23 Johannes Graumann <[email protected]>: >> > Hi, >> > >> > My apologies for re-posting from plone.user. I did not get any feedback >> > there and went searching for a more appropriate place ... >> > >> > I'm running >> > * Plone 4.0 >> > * Zope 2.12.10 >> > * Python 2.6.5 >> > from an recently "buildout -n"ed universal installer installation. >> > >> > I have installed LinguaPlone 4.0b1, which works fine, but I do not manage >> > to get a translated home page u and running ... >> > The language default of the plone instance is German, so I have a German >> > greeting (front-page) showing p upon successful login. Now I want to have >> > that in English as well and hit the translate button and proceed with the >> > translation. The created content item (front-page-en) shows then up in >> > the navigation bar at the top of the default plone4 theme, but the >> > "Home" button in that bar keeps referring t the German version. >> > >> > Can anyone please set me on the right track to have a properly translated >> > font-page? >> >> The default-page story has changed in LinguaPlone. Now the default >> strategy is to create 'language folders' like /de and /en. You can get >> that executing http://yourserver:port/plonesite/@@language-setup-folders >> It creates one folder for each language and sets a language >> 'negotiator' at the plone root redirecting to the proper language >> folder. That way, you can set default pages for each language. >> > Thanks for that hint, but I get the following error: > > Traceback (innermost last): > Module ZPublisher.Publish, line 127, in publish > Module ZPublisher.mapply, line 77, in mapply > Module ZPublisher.Publish, line 47, in call_object > Module Products.LinguaPlone.browser.setup, line 26, in __call__ > Module Products.LinguaPlone.browser.setup, line 65, in setUpLanguage > Module Products.CMFCore.WorkflowTool, line 237, in doActionFor > WorkflowException: No workflow provides the '${action_id}' action. > > Could proxying (I'm using NGINX) be a problem for this? > I don't think so... try with a pdb in line 65 of Products.LinguaPlone.browser.setup. It seems that it's trying to execute an impossible workflow action. I made it work without errors in several Plone 4 sites. Mikel -- Mikel Larreategi [email protected] CodeSyntax Azitaingo Industrialdea 3 K E-20600 Eibar Tel: (+34) 943 82 17 80 ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Plone-i18n mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-i18n