Can plone.app.multilingual work for partially translated sites?

I am trying to get plone.app.multilingual to work with a site that is currently in English but will be partially translated. I use plone.app.multilingual and not the more familiar LinguaPlone due to the Dexterity content types used by the site that LinguaPlone does not support.

I have a website for testing. As soon as I go to one page, the / en folder is created for English content and (for example) / fr for French. I can switch between the two language versions of the page, but as soon as I am in French, I can not see all the other English pages. As a site visitor, this is useless, and he ignores the fact that although the browser can be configured in French, it can also accept English. I have chosen what, in my opinion, are suitable parameters that allow me to refuse the default language of the site, and it allows me to view them if I know the URL of the page, but it is not very useful if I do not see that the content there is first.

Is it possible to make plone.app.multilingual work so that the user can see the content page in some language, even if it does not belong to them, or is my only option to convert the site to use archetypes?

Thank.

+5
source share
1 answer

LinguaPlone will handle this case the same way: make all content β€œneutral”, except where there is a translation.

By marking all the neutral words of your content, it will be found and displayed to the end user, regardless of which language setting has been set. Now, if any of your content has translation, you need to install English as the language of the original version, so that it is displayed only when you select English.

, , plone.multilingual.events.IObjectTranslatedEvent.

en/ fr/ , ITranslationLocator ( plone.multilingual.interfaces, , . . , .

+2

All Articles