-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Form] Added docs for alpha3 option in CountryType and LanguageType #12441
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
[Form] Added docs for alpha3 option in CountryType and LanguageType #12441
Conversation
e91d247
to
377d71c
Compare
…anguageType (creiner) This PR was squashed before being merged into the 4.4 branch (closes #12441). Discussion ---------- [Form] Added docs for alpha3 option in CountryType and LanguageType Here are the documentation parts for the PR: symfony/symfony#33791 Hope I didn't make any mistakes.. :-) Commits ------- 377d71c [Form] Added docs for alpha3 option in CountryType and LanguageType
@creiner thanks a lot for this contribution! You did it great ... but we added some minor tweaks while merging to add the Congrats on your first Symfony Docs contribution! |
@javiereguiluz so https://symfony.com/doc/4.4/reference/forms/types/language.html#alpha3 is wrong currently |
I'm sorry but I don't understand your comment. This is about the Form component ... but you are linking to Intl, so I'm confused: Should this be documented only in Intl but not in Form? Only in Form but not in Intl? In both but differently? Thanks. |
i mean both LanguageType and CountryType refer to ISO 3166, whereas LanguageType should refer ISO 639 |
So the alpha3 part shout be changed to ISO 639 for language type. |
@creiner this PR is already merged, so a new one should be created. I'm sorry! |
…ageType (creiner) This PR was merged into the 4.4 branch. Discussion ---------- [Form] Changed the ISO Code and example for LanguageType As discussed in the previous PR here: symfony#12441 Commits ------- 4b76e73 Changed the ISO Code and example for LanguageType
Fixes #12415. Here are the documentation parts for the PR:
symfony/symfony#33791
Hope I didn't make any mistakes.. :-)