summaryrefslogtreecommitdiff
path: root/transifex/Makefile
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-11-15 17:23:51 -0600
committerRuben Pollan <meskio@sindominio.net>2018-11-19 20:58:02 -0600
commitbb59e562d396684ac20347498a861ed32fbb8b57 (patch)
treec4e04d6c82cfe10f65b7e98c7c3da07ad673708a /transifex/Makefile
parente090ea1a2da8c4ff5e98fb09e37d51042e380b0a (diff)
[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
Diffstat (limited to 'transifex/Makefile')
-rw-r--r--transifex/Makefile8
1 files changed, 8 insertions, 0 deletions
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