Hi,

You're right.
I hadn't realized.  :-)

Cheers.


On Thursday, 29 December 2022 at 12:16:56 UTC+1 alo...@gmail.com wrote:

> Hi,
>
> That would explains it & glad you had it resolved. It's good to know that 
> I'm not alone in making typos everywhere ;-). Check the subject of this 
> thread "Hot to add a language tag to a metadata field." :-).
>
> Cheers
>
> On Thursday, December 29, 2022 at 11:56:41 AM UTC+3 hipot...@gmail.com 
> wrote:
>
>> Hi  " alo...@gmail.com"
>>
>> There was an error un my code:
>>
>> I wrote "value-pairsname", instead of "value-pairs-name"
>>
>> Now it works properly:
>> [image: Screenshot_01_02.png]
>>
>>
>> Thank you for your help.
>>
>>
>>
>>
>> On Tuesday, 27 December 2022 at 17:46:17 UTC+1 alo...@gmail.com wrote:
>>
>>> On Tuesday, December 27, 2022 at 1:41:22 PM UTC+3 hipot...@gmail.com 
>>> wrote:
>>>
>>>> Why am I getting this error?
>>>>
>>>> Thanks.
>>>>
>>> You got everything right except the missing value-pairs by the name 
>>> (common_iso_languages2). You can use the built-in common_iso_languages but 
>>> if you must use the one you picked to customize it just create it in 
>>> submission file as below:
>>>
>>>         <value-pairs value-pairs-name="common_iso_languages2" 
>>> dc-term="language_iso">
>>>             <pair>
>>>                 <displayed-value>N/A</displayed-value>
>>>                 <stored-value></stored-value>
>>>             </pair>
>>>             <pair>
>>>                 <displayed-value>English (United 
>>> States)</displayed-value>
>>>                 <stored-value>en_US</stored-value>
>>>             </pair>
>>>             <pair>
>>>                 <displayed-value>English</displayed-value>
>>>                 <stored-value>en</stored-value>
>>>             </pair>
>>>             <pair>
>>>                 <displayed-value>Spanish</displayed-value>
>>>                 <stored-value>es</stored-value>
>>>             </pair>
>>>             <pair>
>>>                 <displayed-value>German</displayed-value>
>>>                 <stored-value>de</stored-value>
>>>             </pair>
>>>         </value-pairs>
>>>
>>>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/422facd6-99c9-4e16-9b91-d9c95d1ba0bdn%40googlegroups.com.

Reply via email to