Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Routing] Add locale fallback to internationalized routes#10108

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@fancyweb
Copy link
Contributor

@fancywebfancywebforce-pushed thefeat-i18n-routing-locale-fallback branch from32051bd toc15df9dCompareJuly 22, 2018 09:39
routing.rst Outdated

..tip::

If you use full locales (language + territory) in your application (e.g. `fr_FR`),

Choose a reason for hiding this comment

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

s/territory/culture/

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Not sure about this, I took it from Wikipedia and the info seems to come from the ISO standard (https://en.wikipedia.org/wiki/Locale_(computer_software)).

for several full locales that share the same language (e.g. `fr_FR` and `fr_BE`).

..versionadded::4.2
The feature to fall back on the language part only was introduced in Symfony 4.2.

Choose a reason for hiding this comment

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

fallback

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

xabbuh reacted with thumbs up emoji
@xabbuhxabbuh added the Waiting Code MergeDocs for features pending to be merged labelAug 7, 2018
@nicolas-grekas
Copy link
Member

upstream merged

1 similar comment
@nicolas-grekas
Copy link
Member

upstream merged

symfony-splitter pushed a commit to symfony/routing that referenced this pull requestAug 10, 2018
…nationalized routes (fancyweb)This PR was merged into the 4.2-dev branch.Discussion----------[Routing] Add fallback to cultureless locale for internationalized routes| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |symfony/symfony#27938| License       | MIT| Doc PR        |symfony/symfony-docs#10108Please check the related issue for the context.TODO :- [x] Update CHANGELOG- [x] Update documentationCommits-------fd2e3c36fb [Routing] Add fallback to cultureless locale for internationalized routes
nicolas-grekas added a commit to symfony/symfony that referenced this pull requestAug 10, 2018
…nationalized routes (fancyweb)This PR was merged into the 4.2-dev branch.Discussion----------[Routing] Add fallback to cultureless locale for internationalized routes| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#27938| License       | MIT| Doc PR        |symfony/symfony-docs#10108Please check the related issue for the context.TODO :- [x] Update CHANGELOG- [x] Update documentationCommits-------fd2e3c3 [Routing] Add fallback to cultureless locale for internationalized routes
@xabbuhxabbuh removed the Waiting Code MergeDocs for features pending to be merged labelAug 10, 2018
@xabbuhxabbuh added this to the4.2 milestoneAug 10, 2018
@fancywebfancyweb changed the title[WCM][Routing] Add locale fallback to internationalized routes[Routing] Add locale fallback to internationalized routesAug 19, 2018
@javiereguiluz
Copy link
Member

@fancyweb this is a truly convenient feature! Love it. Thanks for contributing it.

@javiereguiluzjaviereguiluz merged commit02cc739 intosymfony:masterSep 4, 2018
javiereguiluz added a commit that referenced this pull requestSep 4, 2018
…s (Thomas Calvet, javiereguiluz)This PR was merged into the master branch.Discussion----------[Routing] Add locale fallback to internationalized routesRelated PR :symfony/symfony#27957Commits-------02cc739 Minor rewordc15df9d [Routing] Add locale fallback to internationalized routes
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

5 participants

@fancyweb@nicolas-grekas@javiereguiluz@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp