Am 06.02.2010 um 00:42 schrieb Christian Voelker:
> Hello,
>
> we are running DSpace 1.4.2. We decided to switch to ISO 639-2 three letter
> codes for either dc.language.iso and the language of metadata values. We
> changed input-forms.xml accordingly but still new entries with 'en' instead
> of 'eng' appear in the metadatavalue table of the database. They are all of
> type dc.description.provenance. Id est, these are fields that get added
> automatically while submitting, approving, rejecting or publishing items.
Answering myself - well, partly:
These values are hardcoded in two .java class files, WorkflowManager.java in
src/org/dspace/workflow (3 appearances for either submit, approve and reject
and InstallItem in src/org/space/content for the "Made available" entry when
publishing).
However, when looking at some other places in the code, it might well be that
the exact value is hardcoded in some other places toot, though I found one
place where a condition was written in smart way (Browse.java says
'lang.startsWith("en")'). So I am still not sure whether changing it is the
best decision.
Bye, Christian Völker
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech