User tests: Successful: Unsuccessful:
Pull Request resolves #48358 .
The Article Associations setting previously used the flags parameter as a simple on/off option to control whether language flags were displayed.
This Pull Request changes the setting to provide four display options while maintaining backwards compatibility with existing configuration values:
0 — Language Code
1 — Flags
2 — Native Language Title
3 — Language Title
The default remains 1 (Flags), so existing installations retain their current behaviour.
The setting is available in both the global Content component configuration and the Article Options, with the options presented in the following order:
The association display in the article category layout and content information layout has been updated so that the three text-based options use the same button styling as the existing language-code display.
Existing language strings have been retained for backwards compatibility, with deprecated strings marked accordingly.
4. The front end will now display as follows
#### Flags
The Article Associations setting only provides the existing flag/code behaviour. The flags parameter is effectively treated as a binary setting, so there is no option to display the associated language using either its native language title or its translated language title.
The Article Associations setting provides four display choices: Flags, Language Code, Native Language Title, and Language Title.
The selected option controls how associated article languages are displayed on the frontend. Flags retain the existing behaviour, while all three text-based options are displayed using the same button styling.
Existing values remain compatible, with 0 continuing to mean Language Code and 1 continuing to mean Flags.
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_content Language & Strings Front End Layout |
| Labels |
Added:
Language Change
PR-6.3-dev
|
||