password
password copied to clipboard
How to translate?
Hi,
thanks for the tool it exactly does what i need. But how can it be translated? I never used go so i just tried to translate the index.html file and build the image with the dockerfile. That does not work, there is always the same file, maybe it is already compiled in an file oder it gets updated while compiling the password binary? Maybe you can give me a litte hint/help?
Thanks in advance
To update the index.html
you need to execute make pack
in the main directory: the file is bundled as a binary blob inside the cmd/password/bindata.go
. To do so you need shuLhan/go-bindata installed in your PATH
: go get github.com/shuLhan/go-bindata/cmd/go-bindata
May I ask to which language you want to translate the interface? Maybe this would be interesting for all users… We could add a translation through a Javascript interface (similar to my OTS project)…
If translations become possible, I could probably make a PR translating it to Brazilian Portuguese—and maybe Spanish as well.