hello all
I'm back to testing zk1.3, probably my new site will be based on it :) . and also plane 2 modules:
1. CV(Personal info, Education Work experience etc)
2. Publications (published articles in scientific journals/Conferences with abstract)--based on News module, will work with CV module
this two modules i'm developing now with 1.1.2 :). work fine.
For me it is important multilanguality.
Just did fresh install of 1.3dev.
created ka locale dir. copied there Zikula.pot file and translated some messages. language switch woks fine, but translations are not shown/loaded.
changed language in Profile. Same thing. Added language switch block(dropdown menu shows available languages). Same as user or as guest block says that language is switched but no translations appear.
Did same operations for other language-- Russian. Same thing.
Did i missed something?
is binary PO file necessary?
Edited by shoshia on Mar 17, 2011 - 03:05 AM.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- craigh responded to »Using PageUtil::addVar() to load script code« 03:29 PM
- 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
[SOLVED] Switching Language .zikula 1.3
-
- Rank: Softmore
- Registered: Mar 10, 2005
- Last visit: Mar 18, 2010
- Posts: 288
-
- Rank: Freshman
- Registered: Sep 28, 2004
- Last visit: Apr 25, 2010
- Posts: 61
Not an answer to solve your test, but I'm interesting to translate in french your module.
But I also think that it could be a good thing if we could import a publication structure or template with clip (ex-pagemaster) -
- Rank: Softmore
- Registered: Mar 10, 2005
- Last visit: Mar 18, 2010
- Posts: 288
thanks for respoce
Quote
I'm interesting to translate in french your module.
when finish i'll make them available.
Quote
But I also think that it could be a good thing if we could import a publication structure or template with clip (ex-pagemaster)
i never tried pagemaster. I know Clip is new one and have not tried it. Not enough knowledge for in workflow templating staff in this modules. will check Clip libs/functions when i get time
do you see translations in French with ML enabled Zikula1.3?
i'll go in debugging to see whats going on
Edited by shoshia on Mar 17, 2011 - 03:30 AM. -
- Rank: Softmore
- Registered: Mar 10, 2005
- Last visit: Mar 18, 2010
- Posts: 288
it does not work with 1.2.6 also :(
problem is:
in Zlanguagesetup gets lang parameter 'ka' not 'kat'(this was legacy) and
Code
function setup()
{
$this->handleLegacy();
$this->langRequested = preg_replace('#[^a-z-].#', '', FormUtil::getPassedValue('lang', null, 'GET')); // language for this request
$this->detectLanguage();
$this->validate();
$this->fixLanguageToSession();
$this->setlocale($this->languageCode);
$this->bindCoreDomain();
$this->loadLegacyDefines();
$this->processErrors();
}
handlelegacy returns nothing as expected
error is in Zlanguage.php line 181
ZI18n:getinstance shoud not be called stattically
Edited by shoshia on Mar 17, 2011 - 05:36 AM. -
- Rank: Softmore
- Registered: Mar 10, 2005
- Last visit: Mar 18, 2010
- Posts: 288
seems everything correct but not legacy lang not pot file translation is loaded :( -
- Rank: Softmore
- Registered: Mar 10, 2005
- Last visit: Mar 18, 2010
- Posts: 288
- Moderated by:
- Support
