-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String datatype requires a language, even when the data is bytes not text #9191
Comments
This would let
A related issue is that the default language code in the card designer doesn't get associated with the card, so you can't default identifier values to (The above also has the fix for #9192) (My current workaround is simply to set |
I've recently discovered this issue as well; there are some data in the form of strings which are universal to all languages. My suggestion was similar to yours - the creation of a new datatype which I called "keyword". Example use cases of the "keyword" datatype would be identifiers such as names or id's, or parts of an address like a postcode and a street name. These data have no specific language but, at this moment in time, to get this data to show up in each of the desired languages the data needs to be duplicated for each languages. This means holding the same postcode data for each language when the value is constant. This practice seems unnecessary and duplicated data makes things look messy. Hence the potential need for a "keyword" datatype, that will have the properties of the previous string datatype before i18n was implemented. |
We could simply re-add the old string datatype with a new name, so this wouldn't be difficult to implement. I like |
…xt.htm add aria-label for required status, re #9191 Co-authored-by: Jacob Walls <[email protected]>
…xt.htm nit, re #9191 Co-authored-by: Jacob Walls <[email protected]>
Arches Version/Branch: stable/7.2.1
Describe the bug and how to reproduce it:
Some string data such as identifiers does not have a language. For example "sh89054622" is a string, but not in any human language. The current implementation of the string datatype requires a language, as represented by the language map in the JSON-LD.
This could be a second data type
string-without-language
, or a "magic" language such aszxx
(meaning Not Applicable in ISO639) which then gets treated differently from strings with real languages.The text was updated successfully, but these errors were encountered: