plurr
plurr copied to clipboard
Added error for non-existing locale
Helps address issue #15
I haven't tested yet so uncertain if ready for merge.
I also wanted to ask it seems the Go implementation is different in that the SetLocale
function handles the fallback to English whereas the other implementations simply have the format
function handle the fallback. Is this intended?
Thanks, @augbog! I'll review this and add some tests a bit later. This PR doesn't block anything on your side, does it?
@iafan Nope doesn't block anything -- just wanted to contribute since I thought it was a useful error :) Great library!