Language problem

jeybey

Joined: 2005-09-28
Posts: 7
Posted: Wed, 2005-09-28 10:38

Hi there,

I got a problem with the languages of G2: I set the standard language and the language of my account to "German" but the gallery stays in english, why? I already rebooted the server, but without success. Address: http://galerie.danielkircher.de
Thanks,

Jorin Bonney
Heidelberg/DE


Gallery version 2.0
PHP version 4.3.4 apache2handler
Webserver Apache/2.0.52 (Debian GNU/Linux) mod_perl/1.99_14 Perl/v5.8.4 DAV/2 SVN/1.0.5 mod_jk2/2.0.4 PHP/4.3.4 mod_ssl/2.0.52 OpenSSL/0.9.7d
Database mysql 4.0.18-log
Operating system Linux vs168232.vserver.de 2.4.20-021stab028.17.777-enterprise #1 SMP Tue Jul 19 19:31:27 MSD 2005 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 (ax)

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32155
Posted: Wed, 2005-09-28 11:03

something like that should work... maybe you've got to change it
notes:
- main.php?g2_controller=core.ChangeLanguage&g2_language=en_GB changes the language of the current session to en_GB
- g2_return=http is an urlencoded redirect address. so after it changes the language, it will redirect to this URL immediately.

http://galerie.danielkircher.de/main.php?g2_controller=core.ChangeLanguage&g2_language=en_GB&g2_return=http%3A%2F%2Fgalerie.danielkircher.de%2Fmain.php?g2_returnName=album

Login or register to post comments
jeybey

Joined: 2005-09-28
Posts: 7
Posted: Wed, 2005-09-28 11:16

nothing happens when I try out these links... The language stays german and the langest link returns an error because the folder "v" is not on the server.

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32155
Posted: Wed, 2005-09-28 11:33

- fixed the return link, removed the v/
- tested with my own site, replaced your host with my host / path, worked.

for German, use de_DE in the url.

Login or register to post comments
jeybey

Joined: 2005-09-28
Posts: 7
Posted: Wed, 2005-09-28 11:52
Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32155
Posted: Wed, 2005-09-28 14:16

maybe the language drop down block must be active.
add the language block to your sidebar block list in site admin -> themes -> matrix.

and did you try if German language support works for your server at all?
FAQ: I changed the language but nothing happens, what's wrong?

Login or register to post comments
jeybey

Joined: 2005-09-28
Posts: 7
Posted: Wed, 2005-09-28 22:20

ok, thank you! I do not know that much about linux.
Could you tell me how to install another language as German on my linux Server and where I can download it?
Thank you!

Jorin

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32155
Posted: Wed, 2005-09-28 23:15

nope i can't. didn't do that before. but it should be quite simple and google has a quite a few hits for the topic locale and how to add a locale etc.
we should definitely add this information to the codex.

Login or register to post comments