Re: [greenstone-users] How-to translate -buttonname classifier option in gsdl 2.70w?

From Katherine Don
DateMon, 31 Jul 2006 16:15:56 +1200
Subject Re: [greenstone-users] How-to translate -buttonname classifier option in gsdl 2.70w?
In-Reply-To (39304-130-217-244-2-1154316870-squirrel-webmail-scms-waikato-ac-nz)
Hi

You will also need to check that there is an appropriate line like the
following in nav_css.dm for each metadata:

_tabtextTitle_ {Titles}
These are currently only defined for proper dublin core.

Note that the label macros are based on your buttonname metadata, not
the actual metadata name.

If you use buttonnames of "Title", "Date" and "Creator" then there are
already translations which may be suitable.

Regards,
Katherine

sw64@cs.waikato.ac.nz wrote:
> Hi ruben,
>
> you can add
>
> _labelTitles [l=fr] {the french traslation} //for button label
> _textdescrTitles_ [l=fr]{the french traslation} //for button tooltip
>
> _labelDates [l=fr] {the french traslation} //for button label
> _textdescrDates_ [l=fr]{the french traslation} //for button tooltip
>
> _labelAuthors [l=fr] {the french traslation} //for button label
> _textdescrAuthors_ [l=fr]{the french traslation} //for button tooltip
>
> in french.dm, and do the same for italian
>
> Regards
> Shaoqun
>
>
>>Hello,
>>
>>I have switched my collection to greenstone 2.70w
>>
>> From time to time we have to import isis files. I've seen the plug has
>>been modified from the previous version.
>>Metadata importing from isis is different and did not match previous
>>dublin qualified.
>>
>>Therefore we decided to build a new metadata set starting from scratch,
>>it is called babel3 and as namespace we have "b" before all fields:
>>
>>...............................
>><?xml version="1.0" encoding="UTF-8"?>
>><!DOCTYPE MetadataSet SYSTEM
>>"http://www.greenstone.org/dtd/MetadataSet/1.0/MetadataSet.dtd">
>><MetadataSet creator="The Greenstone Librarian Interface"
>>lastchanged="Saturday March 4 2006 22:13:56 - My Computer on home"
>>namespace="b">
>> <Name language="en">babel3</Name>
>> <Element name="dc.title">
>> <Attribute language="en" name="identifier">dc.title</Attribute>
>> </Element>
>> <Element name="dc.type">
>> <Attribute language="en" name="identifier">dc.type</Attribute>
>> </Element>
>> <Element name="dc.contributor">
>> <Attribute language="en"
>>name="identifier">dc.contributor</Attribute>
>> </Element>
>> <Element name="dc.language">
>> <Attribute language="en"
>>name="identifier">dc.language</Attribute>
>> </Element>...............................
>>...............................
>>
>>
>>and so on, and we have added more field to dublin qualified.
>>
>>Now, to build classifier we have (from config.cfg):
>>
>>...............................
>>
>>classifyAZCompactList -metadata b.dc.title -firstvalueonly -buttonname
>>Titles
>>
>>classifyDateList -metadata b.dc.date -buttonname Dates
>>
>>classifyGenericList -metadata b.dc.contributor
>>-always_bookshelf_last_level -buttonname Authors
>>...............................
>>
>>We need to translate the -buttonname option to french and italian.
>>
>>I've seen this in my previous version was done by:
>>
>># Dublin Core Metadata Element Set, Version 1.1
>>Titles {Titles A-Z} # Not true DC, kept for legacy reasons
>>
>>
>>can you give help how to translate the navigation line with my lists
>>above?
>>
>>Thank you for your help!
>>
>>Ruben
>>
>>
>>PS: I tried to use the image generator:
>>
>>http://www.cs.waikato.ac.nz/~mdewsnip/greenstone/make-images.html
>>
>>but it does not work with b.dc.title ..
>>
>>
>>
>>
>>_______________________________________________
>>greenstone-users mailing list
>>greenstone-users@list.scms.waikato.ac.nz
>>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>
>>
>
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>