Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added error for non-existing locale #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

augbog
Copy link

@augbog augbog commented Sep 27, 2016

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?

@iafan
Copy link
Collaborator

iafan commented Sep 29, 2016

Thanks, @augbog! I'll review this and add some tests a bit later. This PR doesn't block anything on your side, does it?

@augbog
Copy link
Author

augbog commented Sep 29, 2016

@iafan Nope doesn't block anything -- just wanted to contribute since I thought it was a useful error :) Great library!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants