I18N support is incomplete
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
- coffeescript
- Ambito
- documentation, internationalization
Direzione di ricerca
Inizia con il bundle en_us esistente in engine/src/main/coffee/i18n e confrontalo con le risorse desktop di NetLogo collegate nell’issue. L’ambito comprende i messaggi del parser, le stringhe della GUI e la documentazione, quindi suddividi un’attività concreta in una issue mirata prima di iniziare; i criteri di completamento devono essere definiti per quell’attività.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I wanted a central place to track I18N efforts for NetLogo Web, including Galapagos (for now). The status now is that during the runtime error checking work I used Jason's original idea to add I18N bundles for those error messages. John C then used that to add Simplified Chinese support for those same runtime error messages, and I just added the code to Galapagos to handle switching based on the browser's locale.
Here is what remains to be done:
- Get the parser properly using the existing I18N messages from NetLogo desktop. In theory all the information it needs is already there, it's just a matter of passing in the locale and using it.
- Add the existing translations from desktop for runtime error messages. This is just a matter of grabbing a file from the NetLogo repo, transforming it to match the Tortoise format, and then adding it to the
I18NBundle's static declaration. Note that not all NetLogo error messages are used in Tortoise yet, so it might be best to only transfer the ones that are in the existingen_usfile. Automating some of this process may be possible. - Add I18N support for NetLogo Web's GUI. At the moment there is no I18N support at all, so an I18N component would need to be added, then all existing strings moved into it, and then all those strings would need to be translated. Strings that match NetLogo desktop can rely on those existing translations, but I'm sure many of them will not match.
- Translations for NetLogo Web's documentation, particularly the authoring page but also some of the more critical FAQ entries like how to host models.
Longer term goals and/or ideas that we can split off once the above work is complete:
- Support per-model translations using the same format as Turtle Universe.
- Some kind of script that can help keep the translation files in sync. This can include things like pointing out missing strings from the non-
en_usfile, pointing out strings that don't exist in theen_usfile (key name changes), and also auto-adding missing strings for people doing translation work. Some of this should be added to the Actions tests. - Get language bundles loading dynamically to avoid users needlessly loading the translation bundles they don't need. This should probably wait until we've converted Tortoise to use ES modules.
- Possibly look into just making Google Translate (or other translation service) work for NetLogo Web models for anything that has yet-to-be translated or for languages we don't support. Jason had a comment about that in this Galapagos issue.
- NetTango Web and HubNet Web will also need to be translated after Galapagos itself supports I18N.
- Look into merging the I18N translation files from NetLogo desktop, NetLogo Web, Turtle Universe, NetTango Web, and HubNet Web to a common format and repository so we can maximize re-use between the platforms for common GUI strings and runtime messages.
- Lingua principale
- CoffeeScript
- Stelle
- 57
- Fork
- 28
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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 NetLogo/Tortoise
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di NetLogo/Tortoise
Issue simili
-
kind/documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
kubernetes-sigs/dra-driver-nvidia-gpu#1569 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
QuantEcon/QuantEcon.py#988 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
sujithputta02/Esapay#13 ·
-
Docs build fails with Pluggy 1.7.0 on an unresolved private DistFacade referenceForse già presa @Lothnic l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
pytest-dev/pytest#15190 ·
I maintainer di solito rispondono entro 1 giorno
-
All resource links brokenAperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100