PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar HLeithner
HLeithner
12 Aug 2025

This PR is only a placeholder and needs to be discussed

Summary of Changes

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

  • Removed "uninflectible" rules, which are mostly words with have the same spelling in singular and plural
  • Adding "es" in case the inflection doesn't find a proper way for pluralize a word ending with a "s".

Once again, this this "language" should never been used for user facing content.

Examples for not working pluralization with English:

  • Creating an MVC called "travel" will fail because "travel" has the same spelling in singular and plural
  • What we keep is irregular verbs "person" will still be "people" even if it's not optimal for DX

Testing Instructions

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

Actual result BEFORE applying this Pull Request

No Testing instruction yet

Expected result AFTER applying this Pull Request

No Testing instruction yet

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

avatar HLeithner HLeithner - open - 12 Aug 2025
avatar HLeithner HLeithner - change - 12 Aug 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Aug 2025
Category Administration com_categories com_tags com_workflow Libraries Front End Plugins
avatar wilsonge
wilsonge - comment - 13 Aug 2025

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

avatar HLeithner HLeithner - change - 14 Aug 2025
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
avatar HLeithner HLeithner - close - 14 Aug 2025
avatar HLeithner
HLeithner - comment - 14 Aug 2025

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)

Add a Comment

Login with GitHub to post a comment