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.

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://cambuca.ldhs.cetuc.puc-rio.br/~mroberto/gallery/albums.php
Gallery version: v1.4-pl1-lang1
Apache version: 1.3.27
PHP version (don't just say PHP 4, please): 4.1.2
Graphics Toolkit: ?
Operating system: Linux
Web browser/version (if applicable): Opera 7.02 B7

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Wed, 2003-10-08 03:11

moved to correct forum.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2003-10-08 09:34

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

 
mroberto

Joined: 2003-10-07
Posts: 5
Posted: Wed, 2003-10-08 15:28

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.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2003-10-08 16:48

Hi,

i dont understand what you mean.
Can you explain it again ?

(just a stupid german :))

Jens

 
mroberto

Joined: 2003-10-07
Posts: 5
Posted: Wed, 2003-10-08 17:18

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.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2003-10-08 17:48

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

 
mroberto

Joined: 2003-10-07
Posts: 5
Posted: Wed, 2003-10-08 20:23

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.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2003-10-08 20:37

More a bug :(

What was the line you changed ?

Something like 48,1 ?

Jens

 
mroberto

Joined: 2003-10-07
Posts: 5
Posted: Wed, 2003-10-08 21:22

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.