translations

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2024 License: GPL-3.0, CC0-1.0 Imports: 3 Imported by: 0

README

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).

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL