Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Routing] Add fallback to cultureless locale for internationalized routes#27957
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
[Routing] Add fallback to cultureless locale for internationalized routes#27957
Uh oh!
There was an error while loading.Please reload this page.
Conversation
a1b44cd to3ae6eaaCompare| $this->generatorDumper =newPhpGeneratorDumper($this->routeCollection); | ||
| $this->testTmpFilepath =sys_get_temp_dir().DIRECTORY_SEPARATOR.'php_generator.'.$this->getName().'.php'; | ||
| $this->largeTestTmpFilepath =sys_get_temp_dir().DIRECTORY_SEPARATOR.'php_generator.'.$this->getName().'.large.php'; | ||
| $this->testTmpFilepath =sys_get_temp_dir().\DIRECTORY_SEPARATOR.'php_generator.'.$this->getName().'.php'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
These changes were applied by the fabbot patch. I guess I should revert them ?
3ae6eaa tobd5dc07Comparebd5dc07 tobb9ccbfCompare
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
(just updated the implementation to make it shorter)
fancyweb commentedJul 23, 2018
@nicolas-grekas Great job on making this shorter ! Is there any performance impact to "reprocess" everything everytime you generate an url ? |
nicolas-grekas commentedJul 23, 2018
the only impact this can have are at most two extra calls to strstr. I think that's OK :) |
nicolas-grekas commentedAug 10, 2018
(please fix fabbot issues) |
bb9ccbf tofd2e3c3Comparenicolas-grekas commentedAug 10, 2018
Thank you@fancyweb. |
…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
…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
ampaze commentedOct 5, 2018
Thanks from me as well. |
Uh oh!
There was an error while loading.Please reload this page.
Please check the related issue for the context.
TODO :