Skip to content

Commit 688696c

Browse files
committed
Merge branch 'main' of https://github.com/raspi/kallu
2 parents d354c48 + 054d02f commit 688696c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cmd/kallu/locales/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This directory contains source translations to different languages.
44

55
`messages.gotext.json` contains the actual translations which will be generated by `gotext`.
66

7+
Install `gotext`:
8+
9+
go get -u golang.org/x/text/cmd/gotext
10+
711
Update locales with:
812

913
make updatelocales
@@ -26,7 +30,7 @@ Change both `messages.gotext.json` and `out.gotext.json` `language` JSON key to
2630

2731
* Translate `messages.gotext.json`
2832
* Add language code to `cmd/kallu/main.go` `//go:generate` line
29-
* Run update locales (see Makefile).
33+
* Run update locales (see [Makefile](../../../Makefile)).
3034

3135
Make a pull request for your new translation when your translation is finished.
3236

0 commit comments

Comments
 (0)