Re: plone multilingual

Dylan Jay <djay-n0pU0XVUApFWk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
On 06/08/2013, at 5:15 PM, Ramon Navarro Bosch <[email protected]> wrote:

> There are some inconvenients with that aproach:
> 
> * How are you going to show on navigation the elements from other languages ?
> 
> You have /fr/obj1 translated to /de/obj1 and it's not translated on en, you want to see the obj1 on /en/ navigation. Maybe a Navigation strategy would help on show this information. What object would be on /en/ ? the fr or the de ?
> 
> The catalog patch is not the solution, I think that catalog patch should be removed (and I removed it from lrf-type branch), so I would avoid using it.
> 
> * getLanguage method is used along all the code and adding a adding a fieldIndex will add complexity on different parts. It may lead to a problem, as really the object will be only on one language and you would need to know which is the real language and which are fallbacks. With the untranslatedLanguages vocabulary on pam/browser you can know which languages aren't translated for a object, with a new field index with that information we would be able to know which objects should be seen without changing the language index.

Have you considered something like collective.alias? When you create an object you have the option to sync it to all the other object folders and it creates a lightweight proxy object with the content coming from the original language. This is indexed and partakes in navigation. This works for folders too, except that all the contents are also proxy objects. Translation would involve replacing a proxy object with an actual object.
Without using proxy objects I can't see how you can get navigation and other things that use object access to work.


> 
> R
> 
> 
> 2013/8/6 robert rottermann <[email protected]>
> Hi there
> yesterday we where discussing how to support partially translated la nguages.
> This is NOT language neutral content.
> 
> Use case:
> we have three languages de, fr, en
> now all content is created de and translated to fr.
> so no untranslated content exists.
> Some of the content is also translated to English.
> 
> As things stand now, English will only see a very selected few elements (the translated ones) and has no way to know that there is also other content.
> 
> So we came up with the idea that the language index should not be using a text index but a fieldindex, so a document could "be" in more that one language.
> 
> The question now is:
> What problems would that provoke?
> 
> thanks for your input.
> 
> robert
> 
> 
> 
> On 08/05/2013 08:45 AM, Ramon Navarro Bosch wrote:
>> Hey, 
>> 
>> There is already a implementation on github (lrf-type) branch on pam/pm that implements in a simpler way a neutral language solution. Neutral content is stored on the root and on each language root folder their are mapped using the traversal methods. The problem was on catalog as they were using the same UUID , so we created on this cases a UUID-lang code for cataloging.
>> 
>> R
>> 
>> 
>> 2013/8/5 Dylan Jay <djay-n0pU0XVUApFWk0Htik3J/[email protected]>
>> On 05/08/2013, at 3:15 PM, robert rottermann <[email protected]> wrote:
>> 
>> > today the zurich sprint starts and I intend to work with plone.multilingual
>> >
>> > is there anything that needs special love?
>> 
>> The issue of having a partially translated site maybe? As far as I've been able to work out, this can't be done. ie. where it falls back to the neutral language version like LinguaPlone does.
>> I suspect to make that work something similar to collective.alias would have to be created?
>> 
>> 
>> >
>> > thanks
>> > robert
>> >
>> > On 06/10/2013 09:51 AM, robert rottermann wrote:
>> >> Hi there,
>> >>
>> >> I start to use plone.multilingual in earnest.
>> >> Now there is an upcomming sprint in Zurich, Switzerland in and I think
>> >> of proposing plone.multilingual there as a topic.
>> >>
>> >> No my questions:
>> >> What is the state of plone.multilingual?
>> >> I have the impression it is rather calm around it so I assume it is not
>> >> used too much.
>> >> Is this impression wrong? If yes, why is this so?
>> >>
>> >> Is there some other multilingual tool that should be included in a
>> >> multilingual sprint topic?
>> >>
>> >> thanks
>> >>
>> >> robert
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> How ServiceNow helps IT people transform IT departments:
>> >> 1. A cloud service to automate IT design, transition and operations
>> >> 2. Dashboards that offer high-level views of enterprise services
>> >> 3. A single system of record for all IT processes
>> >> http://p.sf.net/sfu/servicenow-d2d-j
>> >> _______________________________________________
>> >> Plone-developers mailing list
>> >> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> >> https://lists.sourceforge.net/lists/listinfo/plone-developers
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Get your SQL database under version control now!
>> > Version control is standard for application code, but databases havent
>> > caught up. So what steps can you take to put your SQL databases under
>> > version control? Why should you start doing it? Read more to find out.
>> > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > Plone-developers mailing list
>> > Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> > https://lists.sourceforge.net/lists/listinfo/plone-developers
>> 
>> 
>> 
>> 
>> -- 
>> Ramon a.k.a bloodbare
> 
> 
> 
> 
> -- 
> Ramon a.k.a bloodbare


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.