Page 1 of 1
mod_LanguageSelector - Multilanguage module - alpha version
Posted: Tue 10. Jun 2008, 13:52
by lindesbs
DemoSite :
http://www.ktrion.de/LanguageSelector/
It is necessary to patch the phpwcms source code. A patch script is at the moment only available for linux, but you can download a prepared version, for overwriting an existing installation,
archive does not have a conf.inc.php
http://www.ktrion.de/LanguageSelector/L ... or.tar.bz2
Simple module installation, included install.txt
http://www.ktrion.de/LanguageSelector/m ... or.tar.bz2
This is an alpha version. Please report all bugs and whishes to
mod_LanguageSelector@ktrion.de or enter them directly in my bugtracking system
http://ktrion.de/mantis.
There is a new ReplacementTag called [LS]xxx[/LS] that is responsible for rendered text. Useable in templates, fixed textes and so on.
Translating via google and reverting to older version will follow in the next release.
This version is
"only a teaser"
more documentation will follow soon.
Re: mod_LanguageSelector - Multilanguage module - alpha version
Posted: Tue 10. Jun 2008, 14:51
by pepe
Hi lindesbs,
looks great... but would be much, much better,
without modifications inside the normal script... maybe possible???
I think, OG will
NOT integrate it inside the core-code ( Nenn es "langjährige Erfahrung" mit phpwcms
) and there would be problems, during former updates
... but nevertheless go on working, a great tool to come,
thumps up
Re: mod_LanguageSelector - Multilanguage module - alpha version
Posted: Tue 10. Jun 2008, 15:00
by lindesbs
Without changing the db accessing options this will not work. OG has a function called _dbQuery, which encapsulate mysql_query. But he doesn´t use this everywhere. So, the end user must patch his installation at the moment to masquerade the original db access sequences. It´s only a new way of multilanguage option. When OG change his queries from mysql_query everywhere to _dbQuery it would be simplier.
Re: mod_LanguageSelector - Multilanguage module - alpha version
Posted: Tue 10. Jun 2008, 15:07
by pepe
Woud be great, if you have a "small talk" with OG.... if the Modul is ready to go
The community needs something like that for years!!!
We have some users in Spain, Belgium, Canada, Swiss.... all countries with several languages.
And, to say the truth, my little "multilanguageswitch" is only a bad, bad workaround
Re: mod_LanguageSelector - Multilanguage module - alpha version
Posted: Tue 10. Jun 2008, 15:45
by Jensensen
wow! great work!
one question: How to
4. run renameAllDBQueries.sh in main directory
on a shared web server (as most of us have, usually) with no shell access?
Re: mod_LanguageSelector - Multilanguage module - alpha version
Posted: Tue 10. Jun 2008, 15:46
by lindesbs
just use the patched file. it is completly prepared. READY TO USE
Re: mod_LanguageSelector - Multilanguage module - alpha version
Posted: Tue 10. Jun 2008, 15:59
by juergen
Hey,
that's all unusuall .. whre to buy the big trust in these binary files ?
Re: mod_LanguageSelector - Multilanguage module - alpha version
Posted: Tue 10. Jun 2008, 16:17
by Jensensen
i didn't find any binaries... but the question if we can trust in these scripts is able and allowable.
am i right, the script/mod triggers google and writes the translated text to the database? there's no translation on the fly?
Re: mod_LanguageSelector - Multilanguage module - alpha version
Posted: Tue 10. Jun 2008, 16:38
by lindesbs
google translation is not yet implementet.
Translation is done via Backend function. as fixed entries in DB
Re: mod_LanguageSelector - Multilanguage module - alpha version
Posted: Fri 13. Jun 2008, 20:49
by Jensensen
lindesbs wrote:...a function called _dbQuery, which encapsulate mysql_query...
Hi lindesbs,
you're right. I never noticed before although it's already used with v1.3.5 - but what is this "encapsulate mysql_query" about?
Couldn't find any explanation.
Do you have any link or info why, what, when...
Thank you.