Documentation ¶
Overview ¶
Usage: To UPDATE translations:
add/change strings in guidedsetup folder that use d.T() or d.say().
run `go generate` in the cmd/curio/internal/translations/ folder.
ChatGPT 3.5 can translate the ./locales/??/out.gotext.json files' which ONLY include the un-translated messages. APPEND to the messages.gotext.json files's array.
ChatGPT fuss: - on a good day, you may need to hit "continue generating". - > 60? you'll need to give it sections of the file.
Re-import with `go generate` again.
To ADD a language:
- Add it to the list in updateLang.sh
- Run `go generate` in the cmd/curio/internal/translations/ folder.
- Follow the "Update translations" steps here.
- Code will auto-detect the new language and use it.
FUTURE Reliability: OpenAPI automation.
Click to show internal directories.
Click to hide internal directories.