User tests: Successful: Unsuccessful:
This PR is only a placeholder and needs to be discussed
This inflector language removes uninflector rules and add at least "es" to words which ends with a "s" if not covered by another rule.
The "Joomla Token Language" is designed to fulfill the requirement with different words for singular and plural
form of a word. This language is normally not used for user facing content. It is used to find the singular or
the plural version of a controller, model or view. It might be used in cases where an uniq token is needed.
As example a URI could be possible using this "language" to guarantee to not have same url for 2 different urls.
Main changes compared to English is
Once again, this this "language" should never been used for user facing content.
Examples for not working pluralization with English:
No Testing instruction yet
Annotation for Extension developer
If a MVC of the word travel is created it's not possible for joomla to handle this correctly.
All words matching the Uninflected
pattern in the English doctrine/inflector package will fail:
See: https://github.com/doctrine/inflector/blob/2.1.x/src/Rules/English/Uninflected.php
No Testing instruction yet
No Testing instruction yet
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
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_categories com_tags com_workflow Libraries Front End Plugins |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-08-14 17:03:06 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
PR-6.0-dev
|
I'm closing this since maintainers are not happy with this solution. Someone should fix it the other way around (full support for list_view and edit_view parameter)
I see inflector as a default. For these sorts of cases isn’t setting the list/item view manually working. If not what specifically fails afterwards cause that’s more the bug than inflector not always working