Toolbar language differs from Page language

11 views
Skip to first unread message

Philipp Zedler

unread,
Mar 23, 2016, 5:44:25 PM3/23/16
to django-cms...@googlegroups.com
Hi Community,

I've a kind of weird problem. I've a multilingual site, and I can easily
change between languages with the language switcher. However, the
toolbar always remains in the same language. This is bad, because I have
a few admin functions that need to know about the current language.

Example.
I am on the page
/it/
and click on my custom Toolbar button "add a broadcast". This will call
the URL
/de/admin/mymodule/broadcast/add/

Is this an intended feature - and is there an easy way to change it
(...configuration...?)

My DjangoCMS version is 3.1.2.

Thanks a lot!
Philipp


--

Philipp Zedler
Developer für's Web
Am langen Rain 12
39031 Bruneck
Italien
++39 / 324 / 77 345 96
http://www.zedler.it

Iacopo Spalletti

unread,
Mar 27, 2016, 12:33:48 PM3/27/16
to django-cms...@googlegroups.com
Hi Philipp,

This mailing list is for discussion of development of django CMS itself,
not developing sites using django CMS. Please post those questions to
the django-cms mailing list, which you can find at
https://groups.google.com/forum/#!forum/django-cms.

Anyway, check "User settings" in the site menu of the toolbar, you'll
see the preferred toolbar language for the user

Thank you,

Iacopo

On 23/03/2016 22:44, Philipp Zedler wrote:
> Hi Community,
>
> I've a kind of weird problem. I've a multilingual site, and I can easily
> change between languages with the language switcher. However, the
> toolbar always remains in the same language. This is bad, because I have
> a few admin functions that need to know about the current language.
>
> Example.
> I am on the page
> /it/
> and click on my custom Toolbar button "add a broadcast". This will call
> the URL
> /de/admin/mymodule/broadcast/add/
>
> Is this an intended feature - and is there an easy way to change it
> (...configuration...?)
>
> My DjangoCMS version is 3.1.2.
>
> Thanks a lot!
> Philipp
>
>


--
Saluti

Iacopo Spalletti
Reply all
Reply to author
Forward
0 new messages