Skip to content

SPO/6751 cvv i18n#7959

Merged
kcondon merged 42 commits intoIQSS:developfrom
GlobalDataverseCommunityConsortium:SPO/6751-cvv-i18n
Aug 31, 2021
Merged

SPO/6751 cvv i18n#7959
kcondon merged 42 commits intoIQSS:developfrom
GlobalDataverseCommunityConsortium:SPO/6751-cvv-i18n

Conversation

@qqmyers
Copy link
Member

@qqmyers qqmyers commented Jun 21, 2021

What this PR does / why we need it: This PR adds support for reporting (internal) controlled vocabulary values in the DDI XML metadata export, improving CESSDA conformance. When translations are available, CVV values are reported in the dataset's metadata language (as defined in #7958) and in the Dataverse instance's default locale's language, if that is different.

This PR applies the new mechanism to the subject field in the citation block and includes support for several socialscience metadatablock fields that are currently not CVV, but have been changed by Sciences PO using what I think are standard values - (see 28eafaa) which will probably result in another PR.

Which issue(s) this PR closes:

Closes #6751

Special notes for your reviewer: This PR includes #7958 as those changes are required. Once that's merged, I'll update this. FWIW, I think the only changes unique to this PR are in DdiExportUtil.java.

It should be possible to add to the tests for this, but only if there are translations supplied for another/test language. Since those are currently managed separately, I'm not sure how if there's a good way to add such a test.

Suggestions on how to test this: Configure dataverse with a properties file translating the citation block to another language. Pick that language (as in #7958) as the dataset's metadata language. Add a subject value(s) to a dataset using a metadata language and publish. The resulting ddi xml export should have subject entries in both languages, with xml:lang attribute tags specifying the languages used.

Does this PR introduce a user interface change? If mockups are available, please link/include them here: No

Is there a release notes update needed for this change?: Maybe? For the whole set of Sciences PO PRs, a note could be made re: the improved CESSDA compliance. I can provide some verbiage.

Additional documentation:

@qqmyers qqmyers added the GDCC: SciencesPO related to GDCC work for Sciences PO label Jun 21, 2021
@coveralls
Copy link

coveralls commented Jul 2, 2021

Coverage Status

Coverage increased (+0.03%) to 19.169% when pulling 0c1e8e0 on GlobalDataverseCommunityConsortium:SPO/6751-cvv-i18n into 72c26e3 on IQSS:develop.

@pdurbin
Copy link
Member

pdurbin commented Jul 16, 2021

Special notes for your reviewer: This PR includes #7958 as those changes are required. Once that's merged, I'll update this. FWIW, I think the only changes unique to this PR are in DdiExportUtil.java.

@qqmyers can you please provide a "compare" link that shows just the changes in the file above. I tried but I'm getting many more changes with GlobalDataverseCommunityConsortium/dataverse@SPO/7388-lang_attributes_in_DDI_export...GlobalDataverseCommunityConsortium:SPO/6751-cvv-i18n

@djbrooke it probably makes sense to get pull request #7958 merged before we review this one.

@scolapasta scolapasta self-assigned this Jul 26, 2021
qqmyers added a commit to GlobalDataverseCommunityConsortium/dataverse that referenced this pull request Jul 28, 2021
@scolapasta scolapasta removed their assignment Aug 30, 2021
@kcondon kcondon merged commit cde47dc into IQSS:develop Aug 31, 2021
@djbrooke djbrooke added this to the 5.7 milestone Aug 31, 2021
@kcondon kcondon self-assigned this Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GDCC: SciencesPO related to GDCC work for Sciences PO

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use the translation of a controlled vocabulary in the oai_ddi

6 participants