Specify the acceptable way to have multiple values in different languages
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, json
- Ambito
- internationalization
Direzione di ricerca
The issue discusses representing multilingual descriptions in Codemeta JSON and shows an example using @value and @language. Start by reviewing the Codemeta context and how the generator handles description fields. Compare interoperable approaches used by other infrastructures, then propose a format and document how it represents multiple languages.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
If we want to specify for example a description in two or more languages, how should the .json file be formatted?
We need an acceptable way to do so in different infrastructures, in a way that can be interoperable.
A few options/ideas below:
First idea from SWH team:
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type" : "SoftwareSourceCode",
"description": [
{"@value": "Functionellement, SOFA est...", "@language": "fr"},
{"@value": "Functionally, SOFA is...", "@language": "en"},
{"@value": "Scientifiquement, SOFA est...", "@language": "fr"},
{"@value": "Scientifically, SOFA is...", "@language": "en"}
],
"https://example.org/FunctionalDescription": [
{"@value": "Functionellement, SOFA est...", "@language": "fr"},
{"@value": "Functionally, SOFA is...", "@language": "en"}
],
"https://example.org/scientificDescription": [
{"@value": "Scientifiquement, SOFA est...", "@language": "fr"},
{"@value": "Scientifically, SOFA is...", "@language": "en"}
],
}
Are there any other infrastructure that are using different languages in codemeta.json files?
Feel free to suggest other options.
- Lingua principale
- JavaScript
- Stelle
- 23
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di codemeta/codemeta-generator
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
codemeta/codemeta-generator#94 · 1 commento ·
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 58/100
codemeta/codemeta-generator#93 · 3 commenti ·
-
Validation: softwareRequirements requires URLs, but specifications requests type SoftwareSourceCodeApertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 54/100
codemeta/codemeta-generator#92 · 4 commenti ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
codemeta/codemeta-generator#86 · 1 commento ·
Tutte le issue di codemeta/codemeta-generator
Issue simili
-
status: needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
mastra-ai/mastra#29706 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
daniel-ospina/tortoise#11586 ·
I maintainer di solito rispondono entro 1 giorno
-
bug stock
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
druxt: getResource returns an empty object for a failed request, so the status is lostForse già presa @Decipher l’ha presa 44 giorni fa. Apertabug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Yu-tao-Li/dsh-computer-use-win#76 ·
I maintainer di solito rispondono entro 1 giorno