Linuxdelta
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Willkommen im neuen Forum
Home
Help
Search
Login
Register
Linuxdelta
»
LinuxDelta
»
Knowledgeroot
»
Translation does not work
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Translation does not work (Read 1790 times)
SlavaRom
User
Posts: 8
Translation does not work
«
on:
April 26, 2010, 10:46:58 PM »
Hello! There is such problem. Translation does not work.
http://www.knowledgeroot.ru
phpinfo link:
http://www.knowledgeroot.ru/phpinfo.php
What to me to do?
«
Last Edit: April 26, 2010, 10:51:10 PM by SlavaRom
»
Logged
admin
Administrator
User
Posts: 553
Re: Translation does not work
«
Reply #1 on:
April 27, 2010, 07:56:14 AM »
Have you enabled all the locales for the translations you want to use?
This must be done on the linux system!
With knowledgeroot 1.0 this will be obsolete because in version 1.0 we will use the gettext implementation from zendframework that does not need this procedure.
regards
Frank
Logged
SlavaRom
User
Posts: 8
Re: Translation does not work
«
Reply #2 on:
April 27, 2010, 08:50:21 AM »
I use knowledgeroot-0.9.9.5. On Linux. A base set of languages (fr, es, nl...). All do not work, except English.
Logged
admin
Administrator
User
Posts: 553
Re: Translation does not work
«
Reply #3 on:
April 27, 2010, 09:20:12 AM »
Yes. But you need to enable the locales in the linux system itself.
On a debian based system i make a dpkg-reconfigure locales and select all the locales i need and so the translations work.
Frank
Logged
SlavaRom
User
Posts: 8
Re: Translation does not work
«
Reply #4 on:
April 27, 2010, 09:47:57 AM »
That to me to be switched to the French language, on a hosting should be established gettext (--with-gettext)?
Unfortunately I do not have possibility to influence options of a hosting and PHP.
Logged
admin
Administrator
User
Posts: 553
Re: Translation does not work
«
Reply #5 on:
April 27, 2010, 10:17:34 AM »
If you have no root rights to the server you need to contact your hoster/administrator that he should enable this locales!
Frank
Logged
SlavaRom
User
Posts: 8
Re: Translation does not work
«
Reply #6 on:
April 27, 2010, 08:11:36 PM »
My hoster does not wish to change compilation php.
As I can download and install knowledgeroot 1.0 ?
Logged
admin
Administrator
User
Posts: 553
Re: Translation does not work
«
Reply #7 on:
April 28, 2010, 08:58:25 AM »
Hi,
version 1.0 is not useable at the moment. I need some more time to make it workable. Please wait for this!
OK. The php version of your hoster has no gettext support. That should be no problem. The gettext implementation in knowledgeroot has a fallback for this scenario and a own implementation for gettext. So It should also work! The source can be found here:
http://trac.knowledgeroot.org/cgi-bin/trac.cgi/browser/branches/knowledgeroot-0.9.9/system/php-gettext
If it does not work we should make a deep inspection
Frank
Logged
SlavaRom
User
Posts: 8
Re: Translation does not work
«
Reply #8 on:
April 28, 2010, 08:31:31 PM »
Has downloaded this complete set, has established, but has exchanged nothing.
Logged
admin
Administrator
User
Posts: 553
Re: Translation does not work
«
Reply #9 on:
April 30, 2010, 12:52:31 PM »
Hi,
sorry for late replay.
I will check out if i could realize a fallback with zendframework gettext implementation.
Frank
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Linuxdelta
»
LinuxDelta
»
Knowledgeroot
»
Translation does not work