Skip to content

[Intl] Exclude root language #32402

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
Jul 8, 2019
Merged

[Intl] Exclude root language #32402

merged 1 commit into from
Jul 8, 2019

Conversation

ro0NL
Copy link
Contributor

@ro0NL ro0NL commented Jul 6, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #...
License MIT
Doc PR symfony/symfony-docs#...

Spotted in #32388

@@ -84,7 +84,7 @@ class LanguageDataGenerator extends AbstractDataGenerator
'zh' => 'zho',
];
private static $blacklist = [
'root' => true,
'root' => true, // Absolute root language
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry but this comment doesn't help much. What about something like: Special non-existent language used for ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know what it's used for :) root is not part of the ISO 639-3 codes.

AFAIK it's only used for grouping; if en is a root language, then root is the absolute language root.

@fabpot
Copy link
Member

fabpot commented Jul 8, 2019

Thank you @ro0NL.

@fabpot fabpot merged commit 089cc06 into symfony:4.4 Jul 8, 2019
fabpot added a commit that referenced this pull request Jul 8, 2019
This PR was squashed before being merged into the 4.4 branch (closes #32402).

Discussion
----------

 [Intl] Exclude root language

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Spotted in #32388

Commits
-------

089cc06  [Intl] Exclude root language
@ro0NL ro0NL deleted the root-lang branch July 8, 2019 07:00
This was referenced Nov 12, 2019
@xabbuh xabbuh added this to the 4.4 milestone Nov 23, 2019
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.

5 participants