Different title in different languages

onishi
onishi's picture

Joined: 2003-12-27
Posts: 14
Posted: Mon, 2006-02-27 06:09

I'm using Gallery 1.5

I'm just wondering is there a way to input english titles when the gallery is showing english and chinese titles when it's showing in chinese? (i.e. have 2 titles for the same photo)

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2006-02-27 12:33

This is not possible with Gallery 1.x

Jens
--
Last Gallery v1 developer and translation manager.

 
onishi
onishi's picture

Joined: 2003-12-27
Posts: 14
Posted: Tue, 2006-02-28 00:26

So if I really need this function then I have to upgrade to G2? It's available in G2?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-03-01 18:13

Yes, G2 has a module called MultiLanguage.

 
Yuan

Joined: 2003-12-03
Posts: 144
Posted: Mon, 2006-03-06 06:54

I have just added the following to G1-G2 comparison in Codex. I feel that the ability to remove an installed language, or the option to install only selected languages would be a feature request if we are to truly make this multi-language feature useful.

Anyone knows how to send feature request?

--
One important difference between G1 and G2 is multilingual support in albums. In G1, I have been struggling to balance display aesthetics and the need to let my Chinese audience and English audience both feel comfortable. My solution has been to create really concise titles in both languages and display both on the same page. In G2, you can create a title, a description, and other text info for each language. Users of one language do not see (and be confused by) text info you created for another language.

A subtle difference also leaves a big impact on practicality in multi-lingual support. In G1, default installation includes only English. Each additional language module you add will be shown as an additional option in the language drop box. In G2, default installation includes all available languages (at least for "full installation"), so the drop box is always crowded with more than a dozen choices. There is no obvious method to remove any installed language. So if your gallery is designed to support English and Chinese only, your users will have to scroll really hard to switch to the other supported language - and there is no obvious way for a user to determine which languages do you intend to support.

Assume the gallery's default language is Chinese, a French user will likely select French as the alternate language. Now the user will see that although all menu items becomes French, all titles and descriptions are still in Chinese. If this user also reads English, he or she could have obtained more information by switching to English, but he or she is unlikely to try English under this circumstance. Even worse, this user may have even ventured English (UK) and still find all titles and descriptions in Chinese. He or she would be even more discouraged to try another language so all the information you prepared for English (US) would be wasted.

Another subtle difference affects practicality in multi-lingual support. In G1, one can use an explicit URL to force a language selection. In G2, one cannot. Therefore, in G1, you can announce your gallery or album in different languages with a definitive URL that makes sure the audience sees the URL in the language used in the announcement. You cannot do this in G2.

Which to choose? If you want true multi-lingual support, G2 is definitely superior. However, if you only plan to add album information in a few of the many supported languages, your effort could be buried in the crowded languages drop list. You also lose the ability to announce a convenient URL to audiences of different languages.
--

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-03-06 18:37

Yuan, all those comments are definitely appropriate for forum discussion, but we'll likely edit or remove that content in the codex page. hope that's ok.

1) file feature requests on sourceforge. http://gallery.menalto.com/sfvote/help
2) we definitely want language packs for G2 somewhere down the road.. it just hasn't happened yet.
3) you can link to G2 with a particular language, i've added a "how to" for that.. http://codex.gallery2.org/index.php/Gallery2:How_Tos#Website_Integration

 
Yuan

Joined: 2003-12-03
Posts: 144
Posted: Mon, 2006-03-06 21:35

Editing/remove is expected, certainly fine. (And thanks for you guys' active development.) There has already been a request for 'removing/adding' languages, and the reason specified is nearly the same: an easier to use interface. Unfortunately the vote counts are extremely low because not many sites use multi-lang feature.

I haven't tried yet, but I'd guess if a language table is removed from the database, it will be out of the view.

Is the integration spec you documented 2.1 only? I tried to ?activeLanguage=en_US to my test installation and it has no effect.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-03-06 22:19

follow that link to see how it works.. activateLanguage is not the parameter for G2.
you can edit modules/core/classes/GalleryTranslator.class to trim down the language list.