LinguaPlone: Fallback Language

3 messages Options
Embed this post
Permalink
Michael Hierweck () LinguaPlone: Fallback Language
Reply Threaded More More options
Print post
Permalink
Hi,

I'm using LinguaPlone present content in a multi lingual website.

English should be the default language, that means, every piece of
content is available in English. Some pieces of content may be translated.

I would like to configure Englisch as default/fallback languange which
means: if a piece of content is not translated to the user's language it
should be shown in English.

Example:

document
        => english
        => german
        => french

user (german) => german
user (italian) => english

How can this behaviour be achieved?

I figured out setting to "english" version to "neutral" means the
document is shown "twice" to german or french user:
a) in neutral language
b) in german/french
That's not the expected result. b) would be enough.

Thanks in advance

Michael

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Eric BREHAULT () Re: LinguaPlone: Fallback Language
Reply Threaded More More options
Print post
Permalink
hello,

to obtain this behaviour, you just need to select "Allow content
language fallback" in the ZMI / portal_languages

Regards,

Eric BREHAULT

On Wed, Oct 28, 2009 at 6:36 PM, Michael Hierweck
<[hidden email]> wrote:

> Hi,
>
> I'm using LinguaPlone present content in a multi lingual website.
>
> English should be the default language, that means, every piece of
> content is available in English. Some pieces of content may be translated.
>
> I would like to configure Englisch as default/fallback languange which
> means: if a piece of content is not translated to the user's language it
> should be shown in English.
>
> Example:
>
> document
>        => english
>        => german
>        => french
>
> user (german) => german
> user (italian) => english
>
> How can this behaviour be achieved?
>
> I figured out setting to "english" version to "neutral" means the
> document is shown "twice" to german or french user:
> a) in neutral language
> b) in german/french
> That's not the expected result. b) would be enough.
>
> Thanks in advance
>
> Michael
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Plone-Users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
robert rottermann () Re: LinguaPlone: Fallback Language
Reply Threaded More More options
Print post
Permalink
Eric Bréhault schrieb:
> hello,
>
> to obtain this behaviour, you just need to select "Allow content
> language fallback" in the ZMI / portal_languages
>
> Regards,
>
> Eric BREHAULT
>

no this does not work like this (unless linguaplone has been changed very recently)

the "fallback"-documents must be language-neutral (no language)
when for a document all languages exist, you can assign the document its language.

furthermore you must adapt the folderlisting so that it does not show the
neutral document along the translated one.

robert

> On Wed, Oct 28, 2009 at 6:36 PM, Michael Hierweck
> <[hidden email]> wrote:
>> Hi,
>>
>> I'm using LinguaPlone present content in a multi lingual website.
>>
>> English should be the default language, that means, every piece of
>> content is available in English. Some pieces of content may be translated.
>>
>> I would like to configure Englisch as default/fallback languange which
>> means: if a piece of content is not translated to the user's language it
>> should be shown in English.
>>
>> Example:
>>
>> document
>>        => english
>>        => german
>>        => french
>>
>> user (german) => german
>> user (italian) => english
>>
>> How can this behaviour be achieved?
>>
>> I figured out setting to "english" version to "neutral" means the
>> document is shown "twice" to german or french user:
>> a) in neutral language
>> b) in german/french
>> That's not the expected result. b) would be enough.
>>
>> Thanks in advance
>>
>> Michael
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Plone-Users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/plone-users
>>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Plone-Users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users