[greenstone-users] How to translate fields such as"[sibling(1):Dc.Title]", "[sibling(2):Dc.Title]"

From Biligsaikhan B.
DateMon Feb 22 14:59:49 2010
Subject [greenstone-users] How to translate fields such as"[sibling(1):Dc.Title]", "[sibling(2):Dc.Title]"
In-Reply-To (4B81B15C-2010501-cs-waikato-ac-nz)
Yes I want to make a browsing classifier and an index on
sibling(1):Dc.Title, only. I don`t want to create another metadata field.

Is it odd?

Thanks.

Biligsaikhan B.

On 2/22/2010 7:19 AM, Katherine Don wrote:
> Hi
>
> I don't think you can do this.
> Why do you want to do this? I can't think (but I may be wrong) of any
> case where this would be useful.
>
> Generally this collectionmeta is used to create display names for
> items in the index. I don't think you can index on
> sibling(1):Dc.Title, only on dc.Title, which would get both your titles.
>
> If you just want to create translatable macros for Title and
> Alternate, you can do something like
> collectionmeta Title [l=en] "Title"
> collectionmeta Alternate [l=en] "Alternate"
> Then use _Alternate_ and _Title_ in your format statements.
>
> If you can give me a better idea about what you are trying to do,
> maybe I can help more.
>
> Regards,
> Katherine
>
>
> Biligsaikhan B. wrote:
>> Hi,
>>
>> Can we do as follows?
>>
>> collectionmeta sibling(1):Dc.Title [l=en] "Title"
>> collectionmeta sibling(2):Dc.Title [l=en] "Alternate"
>> collectionmeta sibling(1):Dc.Title [l=xx] "XXXXX"
>> collectionmeta sibling(2):Dc.Title [l=xx] "YYYYY"
>>
>> Cheers,
>>
>> Biligsaikhan
>>
>> On 2/17/2010 12:15 PM, Katherine Don wrote:
>>> Hi
>>>
>>> What do you mean by translate?
>>>
>>> The format elements will just output the specified piece of
>>> metadata. As for as I know you can't request a specific language
>>> version of any metadata.
>>>
>>> Regards,
>>> Katherine
>>>
>>> Biligsaikhan B. wrote:
>>>> Dear All,
>>>>
>>>> How do I translate each fields of the multi-valued metadata. For
>>>> example: "[sibling(1):Dc.Title]", "[sibling(2):Dc.Title]", etc.
>>>>
>>>> As I know "[Dc.Title]" can be translated.
>>>>
>>>> Cheers,
>>>>
>>>> Biligsaikhan B.
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> greenstone-users mailing list
>>>> greenstone-users@list.scms.waikato.ac.nz
>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20100222/1db37fe2/attachment.html