G2 in Drupal :: set language to russian, and omit english at all.

Continental

Joined: 2004-06-14
Posts: 243
Posted: Sat, 2005-12-10 16:30

Strange behavior of cvs g2 forced me to open this topic.
I register new user under Drupal. My Drupal os only RU-lang.

After I go to embed gallery the user has en_US lang. set.
(this is not for sure, i tried some hacks, sometimes has "none")

Then I MANUALLY switch users's language to Russian in Your Account.
And what we see? We see English! Now I have no idea to make my gallery
to be show in Russian, despite it is everywhere where possible set to Russian.

Please, help me to hack this gallery.module or whatever to automatically
set for every new registed user Russian language. What and where shuld I change?


If fact, this is continuation of the topic with G2 active language bug.
http://gallery.menalto.com/node/40742
When I used stable 2.0.1/2 it look like initially used got english,
but after some period of time it by magic force or my hands swithed to Russian.

thanks in advance. this is critical for me.

Gallery version = 2.0.2+ core 1.0.10
Drupal version = 4.6.4
Gallery.module version = 1.1 (only this works!!!)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-12-10 18:30

the language code defined in the GalleryEmbed::init overrides the user's language. so i'd start investigating what drupal language drupal specifies in the GalleryEmbed::init call for this user.

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Sat, 2005-12-10 18:40
 
Continental

Joined: 2004-06-14
Posts: 243
Posted: Sat, 2005-12-10 22:15

wow! -) that salsa link in there made me dance after my gallery have spoken my native language again. ;-) thx kiz! 2valiant: now I'm patient and happy as the problem solved. Open my site on Monday. =)