Skip to content

[Intl] Allow passing null as a locale fallback #24694

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

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

jakzal
Copy link
Contributor

@jakzal jakzal commented Oct 25, 2017

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Null is passed in update-data.php to prevent falling back to English locale during icu data import. It's been always possible, but since it hasn't been documented in the docblock it was missed while merging #23262.

Null is passed in update-data.php to prevent falling back to English locale during icu data import.
@fabpot
Copy link
Member

fabpot commented Oct 26, 2017

Thank you @jakzal.

@fabpot fabpot merged commit e2b4a35 into symfony:master Oct 26, 2017
fabpot added a commit that referenced this pull request Oct 26, 2017
This PR was merged into the 4.0-dev branch.

Discussion
----------

[Intl] Allow passing null as a locale fallback

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

[`Null` is passed in `update-data.php`](https://github.com/symfony/symfony/blob/e2b4a35a720b85173d15055d0554f86602d43593/src/Symfony/Component/Intl/Resources/bin/update-data.php#L209) to prevent falling back to English locale during icu data import. It's been always possible, but since it hasn't been documented in the docblock it was missed while merging #23262.

Commits
-------

e2b4a35 [Intl] Allow passing null as a locale fallback
@jakzal jakzal deleted the intl/nullable-locale-fallback branch October 26, 2017 06:24
@fabpot fabpot mentioned this pull request Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants