google-code-export / django-page-cms

Automatically exported from code.google.com/p/django-page-cms
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Entry saves to different language #197

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have 2 languages at least in your settings:
LANGUAGES = (
    ('is', gettext_noop(u'Icelandic')),
    ('en', gettext_noop(u'English')),
)
2. Set the top one as your default:
LANGUAGE_CODE = 'is'

3. Enter content for the default language.
4. Enter content for the other language.

What is the expected output? What do you see instead?
On the live page I see the content for the second language even if I have
the first one set via localeurl or similar

WORKAROUND:
Reverse the order of the languages thus:
LANGUAGES = (
    ('en', gettext_noop(u'English')),
    ('is', gettext_noop(u'Icelandic')),
)

Are you using the trunk version or a released version of this CMS?
trunk

I should note that I use TinyMCE.
Thanks.

Original issue reported on code.google.com by hr.bja...@gmail.com on 10 Mar 2010 at 12:54

GoogleCodeExporter commented 9 years ago
I tried with this setting:

LANGUAGES = (
    ('is', gettext_noop(u'Icelandic')),
    ('en', gettext_noop(u'English')),
)

PAGE_LANGUAGES = LANGUAGES
LANGUAGE_CODE = 'is'

And everything seems to work fine for me. Do you use the latest version on 
github?

Original comment by batiste....@gmail.com on 13 Mar 2010 at 2:45