Multilanguage module

VENCO
VENCO's picture

Joined: 2004-03-01
Posts: 78
Posted: Sat, 2005-07-23 15:34

Excellent work on G2B4!

I'm having a problem with the multilanguage module. When I go to the multilanguage settings I select 2 languages and save. However, All the languages still show up in the gallery.

The purpose of selecting languages is to limit your gallery to only support those two, correct?

Thank you

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2005-07-23 15:54

I would think that's how it should work. The description in the settings for Multilanguage are not very friendly at all.

I get the same results you do using 12 hour old CVS code.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-07-23 17:14

hehe, yeah, the name of the module is very confusing :)

you don't have to activate any module to get a localized (translated) g2. just change the language in site admin at the top of the page. and if you want that the users see a language selector, add the language block to your sidebar.

the multilanguage module is for something else. the name should rather be "multilanguagecaptions".
what can you do with the multilanguage module?
if it's activate, you can create descriptions in mutliple languages for all your items. e.g. you can describe an album with "Photos from my holidays" in english and with "Urlaubsfotos" in german and then german users will see the german description and english users the english description.

G2 can't translate your own descriptions automatically (of course you could write a module like that, but i guess you know the poor quality of free form text translations :) ).

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2005-07-23 18:00

Thanks for the explaination. That's pretty dang cool and really useful for those who either share their albums with friends and family who have different native languages or someone who can speak more than one language.

Just wish I knew more than a couple dozen German and Spanish words...

So VENCO, is looking for the same functionality G1 has where you can select which language users can choose from.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-07-23 18:20

hmm, currently you'd have to remove a few lines in function getLanguageData() in modules/core/classes/GalleryTranslator.class

 
VENCO
VENCO's picture

Joined: 2004-03-01
Posts: 78
Posted: Sat, 2005-07-23 18:58

Hmm, I'm glad I asked this question because it does introduce a whole new module to me I didn't know about. nivekiam is right, I thought it was just to select which languages you wanted to be usable.