
|
If you were logged in you would be able to see more operations.
|
|
Elmo
Created: 09/Feb/09 08:18 PM
Updated: 12/Apr/09 03:51 PM
|
|
| Component/s: |
Concepts
|
| Affects Version/s: |
1.4
|
| Fix Version/s: |
1.5
|
|
This code doesn't work:
final SesameManager em = ...;
final Concept concept = ...;
final Locale localeSave = em.getLocale();
em.setLocale(Locale.ENGLISH);
concept.getSkosAltLabels.add("ENGLISH: " + englishName);
em.setLocale(Locale.ITALIAN);
concept.getSkosAltLabels.add("ITALIAN: " + italianName);
em.setLocale(localeSave);
It should generate localized labels, but localization attributes don't appear:
<skos:Concept rdf:about="urn:bluebill:concept#dd11aac0-f5f8-11dd-a25e-002332c672e6">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
<skos:prefLabel>Ardea cinerea</skos:prefLabel>
<skos:inScheme rdf:resource="urn:bluebill:taxonomy/Birds"/>
<skos:altLabel>ENGLISH: Grey Heron</skos:altLabel>
<skos:altLabel>ITALIAN: Airone cenerino</skos:altLabel>
</skos:Concept>
See also
http://www.openrdf.org/forum/mvnforum/viewthread?thread=1978&lastpage=yes
|
|
Fixed in revision 9196.
|
Change by James Leigh [12/Apr/09 03:51 PM]
|
| Field |
Original Value |
New Value |
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Fix Version/s
|
|
1.5
[ 10401
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
|
|