Re: [greenstone-users] Setting different default languages for different colelctions

From John R. McPherson
DateFri, 10 Mar 2006 07:40:19 +1300
Subject Re: [greenstone-users] Setting different default languages for different colelctions
In-Reply-To (Pine-LNX-4-44-0603091701220-27974-100000-fornax-it-iitb-ac-in)
On Thu, Mar 09, 2006 at 05:03:46PM +0530, Chaitra Rao wrote:
> Thank you Katherine. I had another question. How do I set different
> languages for different collections. I have 2 collections in english and
> hindi. I want to display english text n buttons when I open the english
> coll and hindi text n buttons when hindi collections is opened. How do I
> achieve this and how do I specify diff macros for diff collections.
>
> Thanks once again! :)

You can specify default arguments in a collection's collect.cfg file.

Eg for language, you'd want
cgiarg shortname=l argdefault=en
or
cgiarg shortname=l argdefault=hi
in each collect.cfg file.

John