Error with other languages
mroberto
Joined: 2003-10-07
Posts: 5 |
Posted: Tue, 2003-10-07 20:17 |
Hi Folks! I'm a happy new user of Gallery, thanks, your work was impressive! I'm having problems when I try to configure Gallery to use languages different from english. I have tried Portuguese, Italian, French and Spanish, all of them give me a message telling me that Gallery needs reconfiguration, curiously, the message is in the language I have selected In english all works fine. But in mode 3, when I try to change language, I get the message. Any help is wellcome. Thanks in advance, Marcelo. ---- |
|
Posts: 3473
moved to correct forum.
Posts: 6818
Hi,
after you have installed the language update for Gallery 1.4 you have to reconfigure your gallery.
Can you please do this first ?
Regards,
Jens
Posts: 5
Hi Jens,
I have done this several times. It took a while to understand that the problem was related to the languages, because Gallery kept telling me to reconfigure because it had been configured with an old version.
Regards,
Marcelo.
Posts: 6818
Hi,
i dont understand what you mean.
Can you explain it again ?
(just a stupid german )
Jens
Posts: 5
Ok, I'll try to be as exact as I can. My native language is Portuguese, so, forgive me if I may express badly in english.
I have:
1) cd to my web dir
2) tar zxvf gallery-1.4-pl1.tar.gz
3) tar zxvf 1.4-pl1-lang-update-1.tar.gz
4) opened with opera ~mroberto/gallery/setup
5) went through the setup process.
6) configured Gallery to operate in mode 3 (user can select the language), default language is english.
7) everything works fine.
8) if the user changes the language (ex.: Deustch ) he gets:
Die Gallery muss erneut konfiguriert werden
Ihre Gallery-Konfiguration wurde mit einer älteren Gallery-Version erzeugt. Sie ist dadurch veraltet. Bitte führen Sie den Konfigurationsassistenten erneut aus!In der Shell führen Sie folgende Befehle aus::
Unix mit Shell-Zugriff
% cd /Pfad/zu/Ihrer/Gallery
% sh ./configure.sh
Unix mit FTP Zugang
ftp> chmod 777 .htaccess
ftp> chmod 777 config.php
ftp> chmod 755 setup
Windows
C:\> cd \Pfad\zu\Ihrer\Gallery
C:\> configure.bat
Danach starten Sie den Konfigurationsassistenten Wenn Sie Probleme haben, werfen Sie einen Blick auf die Gallery-Hilfeseiten
That's it. If the user changes back to english, everything works again.
Regards,
Marcelo.
Posts: 6818
Hi,
there might be a problem, because we use a config version with a . in it.
Is there
$gallery->app->config_version = 48.1;
Changed it to
$gallery->app->config_version = '48.1';
Jens
Posts: 5
Hi, Jens,
I have done what you said -- I manualy changed the line you showed me in config.php and now everything works fine. So, was it a bug or was it a feature?
Thanks a lot! Now everything works great!
Regards,
Marcelo.
Posts: 6818
More a bug
What was the line you changed ?
Something like 48,1 ?
Jens
Posts: 5
Yes. The original line in config.php was:
/* Version */
$gallery->app->config_version = 48.1;
The new line is:
/* Version */
$gallery->app->config_version = '48.1';
The difference are the quotes. Wasn't that your suggestion? I just did what you said... For some reason, in the english version this variable causes no problem, but in the other languages it is causing trouble. Am I the only one with this problem?
Regards,
Marcelo.