i18n and Romeo Colour and Language

2 views
Skip to first unread message

Claudia Jürgen

unread,
Oct 24, 2011, 7:02:17 AM10/24/11
to bibap...@googlegroups.com
Hi all,

just testing the Archive Analyis and noted that

de/contributorships/archivable?person_id=1
will give no Name or Explanation if
config/personalize/de.yml
contains a translation for the name
sherpa_colors:
unknown:
name: "Unbekannt"
explanation: "Konnte auf ..."
switching to the English name, will find the proper explanation
sherpa_colors:
unknown:
name: "Unknown"
explanation: "Konnte auf ..."


Furthermore I looked at the Romeo/Sherpa Homepage and the API.

1. Colours
In the homepage http://www.sherpa.ac.uk/romeoinfo.html#colours
green, blue, yellow, and white are listed, whereas the API got an
additional gray see
http://www.sherpa.ac.uk/romeo/SHERPA%20RoMEO%20API%20V-2-9%20Addendum%202011-10-18.pdf
Wonder whether this should be included in BibApp in general.

2. Language
The new version
http://www.sherpa.ac.uk/romeo/SHERPA%20RoMEO%20API%20V-2-9%20Addendum%202011-10-18.pdf
allows for an optional argument language:
"A new optional &la= argument allows you return data in languages other
than English –
currently German, Portuguese or Spanish"
This might come handy with regards to i18n.

Have a sunny day

Claudia

--
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

Howard Ding

unread,
Nov 3, 2011, 6:01:36 PM11/3/11
to bibap...@googlegroups.com
Hi,

On 10/24/2011 6:02 AM, Claudia J�rgen wrote:
> Hi all,
>
> just testing the Archive Analyis and noted that
>
> de/contributorships/archivable?person_id=1
> will give no Name or Explanation if
>

I think I have this fixed.


>
> Furthermore I looked at the Romeo/Sherpa Homepage and the API.
>
> 1. Colours
> In the homepage http://www.sherpa.ac.uk/romeoinfo.html#colours
> green, blue, yellow, and white are listed, whereas the API got an
> additional gray see
> http://www.sherpa.ac.uk/romeo/SHERPA%20RoMEO%20API%20V-2-9%20Addendum%202011-10-18.pdf
> Wonder whether this should be included in BibApp in general.
>

I don't see where in that document it talks about 'gray' as a color.

> 2. Language
> The new version
> http://www.sherpa.ac.uk/romeo/SHERPA%20RoMEO%20API%20V-2-9%20Addendum%202011-10-18.pdf
> allows for an optional argument language:
> "A new optional &la= argument allows you return data in languages

> other than English �


> currently German, Portuguese or Spanish"
> This might come handy with regards to i18n.
>

I assume it would be possible to add this to the call when Bibapp calls
to get Sherpa data, but I'm not sure that it actually uses anything that
comes back except for the romeocolour. If we find someplace that is does
then I can look into it, but if not then I'm just as happy to key off of
the English color and provide translations.

Howard

Claudia Jürgen

unread,
Nov 4, 2011, 3:52:22 AM11/4/11
to bibap...@googlegroups.com
Good morning,

as for the color gray, this is in the main documentation (sorry provided
the wrong link)
http://www.sherpa.ac.uk/romeo/SHERPA%20RoMEO%20API%20V-2-4%202009-10-29.pdf

"<romeocolour>
This field gives the colour-code assigned by RoMEO to the publisher.
Possible values are:
green, blue, yellow, white, and gray. See
http://www.sherpa.ac.uk/romeoinfo.html#colours for an explanation of the
RoMEO colours.
�gray� is used for publishers found in DOAJ that have not yet been
analysed by RoMEO."

With regards to the new language attribute, you're right as long as we
use only the color we won't need it. Just found it interesting if ever
anything more is wanted like the policies etc.

Claudia

--

Howard Ding

unread,
Nov 4, 2011, 4:31:09 PM11/4/11
to bibap...@googlegroups.com
On 11/4/2011 2:52 AM, Claudia J�rgen wrote:
> Good morning,
>
> as for the color gray, this is in the main documentation (sorry
> provided the wrong link)
> http://www.sherpa.ac.uk/romeo/SHERPA%20RoMEO%20API%20V-2-4%202009-10-29.pdf
>
>
Thanks. I'm happy enough to add it. Certainly there's no harm in doing
so and this way we'll be prepared if we see it.

Howard


Reply all
Reply to author
Forward
0 new messages