Howdy everyone,
I'm in the process of upgrading a few Zikula sites to v1.2, and i'm kinda stuck: multiple languages. Oddly enough, it won't retain the language selection over the session, meaning it'll switch to the selected language using the old "?newlang=XXX", but revert back to initial language afterwards. Any clue?
Thanks, Jeff
--
obstacle.com
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
V1.2: Multi-language
-
- Rank: Registered User
- Registered: Aug 09, 2003
- Last visit: Nov 19, 2009
- Posts: 4
-
- Rank: Software Foundation
- Registered: Jul 21, 2001
- Last visit: May 31, 2010
- Posts: 624
The behaviour was totally changed, you need to use lang=XX. The language selector setting also does not persist in the session variables since this behaviour is semantically invalid. If you want to change your user persistent settings, visit the user profile and you will see a new Language Preference option where you can set.
Regards,
Drak
--
Zikula Lead Developer
Board Member of the Zikula Foundation
Follow me on twitter.com/zikuladrak -
- Rank: Softmore
- Registered: Apr 23, 2005
- Last visit: May 15, 2010
- Posts: 130
But there are several issues with the new language switch.
I can not reproduce it, but somehow it switched from german to english without my help. Sometimes in admin area you have english warnings and german module names. The menu in seabreeze is also english in that case. Going to home all is german again, even if I've choosed english before in the user settings (or the language block).
But as already told: I can not reproduce it always in the same condition.
I already switched to SVN (17.11.09), same issue.
--
webmaster of gvoh.de and pggo.de
project manager of new module media repository -
- Rank: Softmore
- Registered: Apr 23, 2005
- Last visit: May 15, 2010
- Posts: 130
Just a short test:
Zikula 1.2.1-dev (17.11.09)
News (2.4.1, langfiles converted to utf8) for frontpage
seabreeze for the theme
german and english language
Setting en as default for the page
logged in as the admin
The user admin is switching the language from english to german on frontpage (index.php), Site changed to german
Opening the only one News article. All ok, site is still german
using the Menu "Startseite" (index.php) everything switched back to english
Is it my environment only or has someone the same?
--
webmaster of gvoh.de and pggo.de
project manager of new module media repository -
- Rank: Registered User
- Registered: Aug 09, 2003
- Last visit: Nov 19, 2009
- Posts: 4
Rallek: Yup, that's a variation on what i was attempting to explain.
Drak said:Quote
The language selector setting also does not persist in the session variables since this behaviour is semantically invalid.
Would you care to explain what you mean exactly? I have some idea where this is coming from, but i'd rather hear the official answer. Drumroll please.. :D
--
obstacle.com -
- Rank: Softmore
- Registered: Apr 23, 2005
- Last visit: May 15, 2010
- Posts: 130
I opend a ticket at cozi: http://code.zikula.org/core/ticket/1575
--
webmaster of gvoh.de and pggo.de
project manager of new module media repository
- Moderated by:
- Support
