Closed shivapoudel closed 10 years ago
Great idea, @shivapoudel! I thought about this at one point and eventually concluded that I do not think it'd be appropriate for this plugin. The primary concern I have is that this is for i18n and .po to .mo conversion is a l10n task.
That said, I think it could be very interesting to work on a Grunt plugin for translation tasks.
Also I am thinking to make it compatiable with transifex. What say @bradyvercher @tollmanz @brover .
I've been meaning to dig into Transifex, @shivapoudel, but don't have any thoughts on it yet. What in particular is incompatible?
You might also consider opening an issue on the po2mo plugin and letting the author know about the empty mo files. It looks like a basic wrapper for msgfmt, so it shouldn't be too difficult to fix.
@bradyvercher there were issue already open but now I have successfully solved that issues :100: percent with pull request submitted to merge for po2mo plugin. Thanks for the comment :)...
@tollmanz @bradyvercher have a look to grunt-potomo.
New register task to compile
.po
file to binary.mo
usingmsgfmt
. Similar like po2mo grunt plugin but it has issue which generate 0kb *.mo file.