-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[6.0] Languagefilter: Refactoring of routing #43858
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
Conversation
Co-authored-by: Richard Fath <[email protected]>
Co-authored-by: Richard Fath <[email protected]>
|
Works. Thank you! |
|
@Slava287 Please go to the issue tracker here https://issues.joomla.org/tracker/joomla-cms/43858 and mark your test result by using the blue "Test this" button at the top left corner, selecting your test result and finally submit, so that your test is properly counted. Just a comment here is not enough. Thanks in advance. |
|
I have tested this item ✅ successfully on 3f9a0c5 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43858. |
|
Ok This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43858. |
|
When suffix are enabled, this unfortunately right now creates URLs like /en.html. I still have to take a look what we have to do here. |
|
Hello. Indeed, I didn’t notice it right away |
|
Now the URLs should all be generated correctly. |
|
I have tested this item 🔴 unsuccessfully on 22e4bd1 0 Call to a member function getInput() on null Sorry, :( @Hackwar This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43858. |
|
I have tested this item ✅ successfully on 99eb3e8 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43858. |
Is that still the case? |
|
Nope, this PR is ready. |
|
Can you update the post then - otherwise people wont test it |
@Hackwar I think it should be sufficient to remove the following 2 sentences from the description of this PR:
|
|
I have tested this item ✅ successfully on 5fb4733 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43858. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43858. |
|
Thanks @Hackwar for the change and thanks @exlemor & @sdwjoomla for tests. |
Pull Request for issue #24315, #25449, #39181
Summary of Changes
This is a refactoring of the routing component of the languagefilter plugin. The goal are as follows:
Right now this PR is a Proof Of Concept and is NOT ready. This is to collect feedback from the community and other developers.Testing Instructions
Setup different multilanguage sites and apply the patch. The default behavior should not change, except that when the default prefix is removed, you can switch the language without an additional redirect.
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed