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

From Katherine Don
DateTue, 21 Mar 2006 15:43:44 +1200
Subject Re: [greenstone-users] Setting different default languages fordifferent colelctions
In-Reply-To (Pine-LNX-4-44-0603101238010-6982-100000-fornax-it-iitb-ac-in)
Hi Chaitra

Currently (for me) cgiarg in the collect.cfg doesn't work at all. I am
not sure how you got all the colletions to change languages.

Anyway, you can use the receptionist option in the collect.cfg file, e.g.

receptionist "?a=p&p=about&c=demo&l=fr"

Check the original link to the collection from the homepage to make sure
you get all the necessary arguments, and then add/change the l arg.

Regards,
Katherine


Chaitra Rao wrote:
> Thanks John. I tried the option you mentioned in your e-mail. The language
> of all the collections change when I set 2 different languages in the
> collect.cfg file of the collection. It doesn't seem to change the
> language settings of individual collections.
>
> Can I solve this problem in any other way?
>
> Regards,
> Chaitra
>
> On Fri, 10 Mar 2006, John R. McPherson wrote:
>
>
>>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
>>
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>