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

reset to en-US #776

Open
bonesoul opened this issue Sep 22, 2022 · 1 comment
Open

reset to en-US #776

bonesoul opened this issue Sep 22, 2022 · 1 comment

Comments

@bonesoul
Copy link

I do have a multilanguage site where I do switch to specific locales. Though on some pages I want to reset back to en-US but can't find the definition for it.

Currently I do use this:

import numeral from "numeral";
import "numeral/locales/en-gb";
numeral.locale("en"); // register numeral locale.

But i want to reset back to en-US, is it possible?

@bonesoul
Copy link
Author

anyone here having the same issue?

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

No branches or pull requests

1 participant