Skip to content

changing misleading language identifier #4283

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

Closed
wants to merge 1 commit into from

Conversation

kristofvc
Copy link
Contributor

fixes issue #4251
Typical language standards use dashes, but symfony uses underscores like defined in ICU. So the docs were misleading.

@@ -8,8 +8,8 @@ The ``language`` type is a subset of the ``ChoiceType`` that allows the user
to select from a large list of languages. As an added bonus, the language names
are displayed in the language of the user.

The "value" for each language is the *Unicode language identifier*
(e.g. ``fr`` or ``zh-Hant``).
The "value" for each language is the *Unicode language identifier* used in the *International Components for Unicode*
Copy link
Member

Choose a reason for hiding this comment

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

I think that we should add a link to the list of official language identifiers. Unfortunately, I couldn't find it in the ICU website.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the link. In my opinion is a bit "rough". I was thinking about something like:

Code Locale
es_MX Spanish (Mexico)
fr International French
...
zh_Hant Chinese (Traditional Han)
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 was looking around for something like that too, but couldn't find it either. Maybe just a link to http://site.icu-project.org will do?

@kristofvc
Copy link
Contributor Author

Closed for not contributing the way specified in the docs http://symfony.com/doc/current/contributing/documentation/overview.html

@kristofvc kristofvc closed this Oct 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants