Re: [greenstone-users] Format statements for different languages

From Michael Dewsnip
DateFri, 26 Nov 2004 17:10:53 +1300
Subject Re: [greenstone-users] Format statements for different languages
In-Reply-To (BAY15-F211940292BE980CD6E2737CBB90-phx-gbl)
Dear Raitis,

Yes, you can do this, exactly as you describe. The other place you can
put the translated strings is in the collect.cfg file, with a slightly
different syntax:

collectionmeta Title [l=en] "Title"
collectionmeta Title [l=lv] "Nosaukums"

<tr>
<td style="vertical-align: top;"><b>_Title_ </b><small style="color:
rgb(51\, 51\, 255);">(dc.Title)</small>:</td>
<td style="vertical-align: top;">[dc.Title]</td>
</tr>

The "Translate Text" feature should allow you to do this but
unfortunately doesn't quite (because you can't add new features to
translate). We hope to add this ability sometime in the future.

All the best,

Michael

Raitis Brodezhonok wrote:

> Hello!
>
> I have collection of pictures and every picture is described by
> Dublin Core metadata. I would like to display pictures, metadata and
> metadata
> fields' names too.
>
> My questions are:
> 1) Is it possible to write format statements to be
> able display metadata field's name in different languages?
> 2) Is there possibility to use 'Translate Text' feature in GLI to
> write metadata
> field's name translation?
>
> For example, if I display 'title' field, in English I can write in
> format string
> like this:
>
> <tr>
> <td style="vertical-align: top;"><b>Title </b><small
> style="color: rgb(51\, 51\, 255);">(dc.Title)</small>:</td>
> <td style="vertical-align: top;">[dc.Title]</td>
> </tr>
>
> In Latvian I should replace word '<b>Title</b>' with '<b>Nosaukums</b>'
>
> At the moment I have defined macros _mytitle_ {...} and _mytitle
> [l=lv] {...}
> in extra.dm macro in collection 'macros' directory and use format:
>
> <tr>
> <td style="vertical-align: top;"><b>_mytitle_ </b><small
> style="color: rgb(51\, 51\, 255);">(dc.Title)</small>:</td>
> <td style="vertical-align: top;">[dc.Title]</td>
> </tr>
>
>
> Bets regards,
> Raitis
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's
> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>