calling gallery with a certain language

lapinkulta

Joined: 2005-04-18
Posts: 3
Posted: Mon, 2005-04-18 19:41

hi!

our website is multi language. I know already which language our users prefer. how can i call G2 with a certain language predefinied? Modul multilanguage is activated.

greetings,
lapinkulta

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-04-18 20:28

you set the site wide default language in site admin.
but each user can have another preferred lanuage.

the multilanguage module hasn't anything to do with how language is handled in the G2 user interface. now you may wonder why it is called multilanguage module. it's because it adds some additional multi language functionality. without the multilanguage module, you can annotate items only in a single language. with the multilanguage module, you can add descriptions to items in multiple languages.
so the multi language module doesn't handle the user interface language, it handles the sentences / annotations you wrote for certain items.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-04-18 22:50

you can also make a link like this:
yourhost.com/yourgallery2/main.php?g2_controller=core:ChangeLanguage&g2_language=de_DE&g2_return=main.php
You can pass a value like de_DE or just de for the language.