linguaplone

How can I add translations to a Plone site front-page

狂风中的少年 提交于 2020-01-06 20:12:36
问题 I'm using LinguaPlone in a site thas is written in English and Spanish. All site pages and folders can be translated, except the front page folder. I think that I can translate the page that the front page folder uses as view, but in that case when a user goes to front page, only the folder view is showed (not its translation). I'm using Plone 4.1.4 and LinguaPlone 4.1.2. Maybe I need to try with other tool, as raptus.multilingualplone. 回答1: Normally, when setting up a LinguaPlone site you

Changing workflow in multilingual site works only for one language

為{幸葍}努か 提交于 2019-12-11 12:09:21
问题 I have a fresh Plone-4.1.5-site with Linguaplone-4.1.1 installed, two languages selected and the front-page translated into the other language. When changing the workflow from simple_workflow to intranet_workflow via the controlpanel, and mapping old states to new ones, it occurs, that only objects of the current chosen language get the new mapping. Objects of the other language get the initial state of the new workflow. Is it possible to do the mapping programatically to overcome this? 回答1:

Convert LinguaPlone sub-language back to language for all content?

北慕城南 提交于 2019-12-07 07:51:27
问题 I would like to convert all my content from the sub-language en-ca back to en. What is the API for this? 回答1: Simply call setLanguage on your content item. A quick-n-dirty script to accomplish this would be something along the lines of: cat = context.portal_catalog for brain in cat.unrestrictedSearchResults(Language='en-ca'): content = brain.getObject() content.setLanguage('en') content.reindexObject(idxs=['Language']) You'll need to reindex your content after changing the language setting,

Using LinguaPlone in Plone 4, the TinyMCE editor is not showing up

喜欢而已 提交于 2019-12-02 13:01:19
问题 I'm using LinguaPlone 4.1.3 with an instance of Plone 4.3 and upon hitting "Translate into..." and choosing one of the languages, on the following editing screen the TinyMCE editor does not show up. I'm able to switch to Plone output HTML in the dropdown menu there on the right, and it gives me just the HTML box. However, none of the options display the TinyMCE editor. When editing normal pages (i.e. not translated content), TinyMCE works fine — it's set as the default for the site, and also