scotty/internal/translations
2025-04-09 22:31:34 +02:00
..
locales Update translation files 2025-04-09 22:31:34 +02:00
catalog.go Update translation files 2025-04-09 22:31:34 +02:00
COPYING Documented translation and set translation license to CC0 2023-12-09 15:57:20 +01:00
README.md Documented general configuration and usage 2023-12-09 17:41:38 +01:00
translations.go Manage gotext as a tool with go.mod 2025-04-09 22:30:06 +02:00

Scotty translation

This package provides the translation files for Scotty.

Contribute

You can help translate this project into your language with Weblate. If there are missing or wrong translations in your language you can directly improve the translations there.

If your language is not yet available on Weblate please request the language to be added. Use the mailing list ~phw/musicbrainz@lists.sr.ht or Start new translation in Weblate to do so.

It is also possible to directly edit the messages.gotext.json file located in the locales/[language-code] directories. If you do so please send the modified file or a git patch to the mailing list. Please do not use the out.gotext.json files.

Maintenance

After strings have been added or modified in the code or after changes have been made to the messages.gotext.json files the new strings need to be extracted and changed translations need to be merged.

This requires the gotext tool to be installed:

go install golang.org/x/text/cmd/gotext@latest

The following command will extract all strings and merge the translations:

go generate ./internal/translations/translations.go

License

All Scotty user interface strings and their translations included in this package are published under the conditions of CC0 1.0 Universal (CC0 1.0).