Wrong language to registered users

joex2

Joined: 2005-01-06
Posts: 3
Posted: Thu, 2005-01-06 14:24

I have installed the Dutch and Danish language packs (da_DK and nl_NL).

Then a user register via the self register feature in gallery he is asked ig he wants Danish, Dutch or English af default language. After sending the registration form the user gets an e-mail including a link to create a password. The registration page is always shown in the browser default language.

My problem: The user always gets a Danish e-mail, and every time he logs on to the gallery it is also translated into Danish.

In the file ~/albums/.user/<id> I can see the string defaultLanguage and nl_NL so it is saved alright.

I have selected Danish as the default language doing setup process, but I hoped that the gallery default language would only be shown to unregistered users then their browser doesn't have a default language. It seams that gallery use the galley default language on every registered user, including the Dutch.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2005-01-07 08:39

Hello,

which Version of Gallery are you using ?

Jens

 
joex2

Joined: 2005-01-06
Posts: 3
Posted: Fri, 2005-01-07 15:33

I first installed gallery-1.4.4-pl2 but then it didn't work for me I upgraded to gallery-1.4.4-pl4. I have deleted and recreated all users, but I still have the problem.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2005-01-12 10:53

Hi,

i investigated a little.

Some parts of your postings are true.
But the most important thing (to me) is that the language is correct when a user logs in.

I try to enhance the other things.

Jens

 
joex2

Joined: 2005-01-06
Posts: 3
Posted: Wed, 2005-01-12 21:00

Thanks for your time.

For me it is important that the language is correct when a user logs in the first time. I can see that the Dutch users never use their login (more than once) but the danish does. All users are +40, and I hope they will learn to upload the pictures themself.

I look forward to version pl5 to see if it works better for me.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2005-01-12 21:56

There will no pl5 for this.

It will be fixed in Gallery 1.5

Jens