LD4P / sinopia_editor

Sinopia Linked Data Editor
https://sinopia.io/
Apache License 2.0
35 stars 9 forks source link

change language choices for literals to ISO 639-2 #1230

Closed bushmanb closed 4 years ago

bushmanb commented 5 years ago

Describe the bug I am using the sinopia user feedback template in Windows/Firefox and I don't understand where the language choices are coming from and what appears to be a random order. Not all the languages in the MARC list of languages appear to be there. For example, when I enter Turkish I would expect to see Turkish as well as Ottoman Turkish, but I don't.

justinlittman commented 5 years ago

Can you attach a screenshot @bushmanb?

bushmanb commented 5 years ago

Sorry, but I cannot provide a screenshot because 1)I cannot locate the Sinopia User Feedback Template in stage; 2)sinopia:resourceTemplate:bf2:Language2 template is not working (I get an error "Unable to find http://id.loc.gov/vocabulary/languages in the lookup configuration" 3) I tried to use sinopia:RT:demo:Monograph:Work template, but when I tried to add a language I also got an error "There was a problem retrieving lc:RT:bf2:Language2: Error: Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc."

michelleif commented 5 years ago

sorry @bushmanb we cleaned up stage and the test template is not there anymore

@justinlittman this issue refers to the Language button we have next to all literals

Screen Shot 2019-09-13 at 12 22 29 PM

can we find out where this list is coming from to answer Barbara's question about a missing language

justinlittman commented 5 years ago

They're from ISO 639.

michelleif commented 5 years ago

@bushmanb we seem to be using ISO 639-1 not ISO 639-2 which is why you don't see Ottoman Turkish. Would ISO 639-2 be a better list?

bushmanb commented 5 years ago

I think ISO 639-2 would be better since that is based on the MARC code list. According to the MARC documentation ISO 639-2 is maintained by LC and inline with the MARC language codes.

justinlittman commented 5 years ago

If we are going to switch, we need to make sure we understand the implications for resources created with ISO 639-1 language codes.

zenodotus commented 4 years ago

There's an argument to be made for ISO 639-3, a more complete list of human languages.

zenodotus commented 4 years ago

https://iso639-3.sil.org/code_tables/639/data

justinlittman commented 4 years ago

Based on discussion at Sinopia meeting on 11/13, recommendation for short-term is to use ISO-639-2 (3 letter codes). Need to consider how existing 2 letter codes will be handled or when importing data with 2 letter codes (or other unrecognized code).

In long-term, need to have broader discussion about this.

zenodotus commented 4 years ago

Thanks for letting me know. I look forward to the longer-term discussion. There is a method for inputting ISO 639-3 into the 041 MARC field that has been used in certain contexts; it does not get fed into the fixed fields but may still be a subject of conversion.

Charles

From: Justin Littman notifications@github.com Sent: Wednesday, November 13, 2019 11:51 AM To: LD4P/sinopia_editor sinopia_editor@noreply.github.com Cc: Riley, Charles charles.riley@yale.edu; Comment comment@noreply.github.com Subject: Re: [LD4P/sinopia_editor] change language choices for literals to ISO 639-2 (#1230)

Based on discussion at Sinopia meeting on 11/13, recommendation for short-term is to use ISO-639-2 (3 letter codes). Need to consider how existing 2 letter codes will be handled or when importing data with 2 letter codes (or other unrecognized code).

In long-term, need to have broader discussion about this.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLD4P%2Fsinopia_editor%2Fissues%2F1230%3Femail_source%3Dnotifications%26email_token%3DADTKFJCBLCK3MX6NHF4D2SLQTQWAHA5CNFSM4IMBG2MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED6ZPPY%23issuecomment-553490367&data=02%7C01%7Ccharles.riley%40yale.edu%7Cc782a0a480174e4a0be808d76859b3c7%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637092606793006862&sdata=NL02Z2hLeSxtwVNLwEFW0hS6%2B1%2FYg3OxlUu4a0XLfKA%3D&reserved=0, or unsubscribehttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADTKFJEOA7PB4WM62CMMFZTQTQWAHANCNFSM4IMBG2MA&data=02%7C01%7Ccharles.riley%40yale.edu%7Cc782a0a480174e4a0be808d76859b3c7%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637092606793011856&sdata=5G1qvIsiYLPn0RPKVV3hrgtIup6DFuvU0vERbl42M%2FM%3D&reserved=0.

justinlittman commented 4 years ago

To summarize: