I am having a translation issue where magento generates empty js-translation.json files only. This issue has been reported a number of times:
Magento.stackexchange / stackoverflow:
(Many more example can be found on google for these or similar.)
The only general solution seems to be to generate the file yourself. Now, It looks like the format described here should work: http://i18njs.com/ , but magento can handle a couple more things, like making translations dependent on modules and such.
Could someone give me a sample of a working js-translation.json file? Just a translatable string or 2 should probably be enough for me to create my own file.