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

fix(locale): 🐛 allow latin american spanish locale #740

Merged

Conversation

davidsidlinger
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

If you call TranslocoLocaleService.setLocale with the value of "es-419", it will not change the locale.

What is the new behavior?

"es-419" is allowed as a valid locale identifier.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

The valid locale identifier es-419 was being rejected by the
`isLocalFormat` function.
Copy link

stackblitz bot commented Jan 9, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@shaharkazaz shaharkazaz merged commit bd9e8b7 into jsverse:master Jan 10, 2024
5 checks passed
@shaharkazaz
Copy link
Collaborator

Released in v5.1.2

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