From bb59e562d396684ac20347498a861ed32fbb8b57 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 15 Nov 2018 17:23:51 -0600 Subject: [feat] Generate messages.json for transifex Add to 'make generate_locales' the generation of a 'transifex/messages.json' that will be automatically pulled by transifex for translations. To incorporate translations from transifex into our project we'll need to manually download the selected translations and convert them with the transifex program into gotext format. -Resolves: #73 --- transifex/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 transifex/Makefile (limited to 'transifex/Makefile') diff --git a/transifex/Makefile b/transifex/Makefile new file mode 100644 index 0000000..aad1d3e --- /dev/null +++ b/transifex/Makefile @@ -0,0 +1,8 @@ + +all: build generate_json + +build: + go build + +generate_json: + ./transifex g2t ../locales/en-US/out.gotext.json messages.json -- cgit v1.2.3