No Code Attached Yet
avatar fballem
fballem
8 Mar 2022

Steps to reproduce the issue

  1. Modify the settings for a content language, such as changing the description or the URL Language Code.
  2. Create content, such as articles, categories, menus, or menu items.
  3. Note that the Language Tag is used to identify the content language. Screenshot attached shows the menus on the left side showing en-GB and fr-FR.screen shot 2022-03-08 at 09 28 55

Expected result

Could we not use the URL Language Code in identifying Content Languages? The field is required and must be unique. We cannot change the Language Code, but we can change the URL Language Code.

Actual result

System information (as much as possible)

Additional comments

I understand that this would be a very large change, but it would be a good one from a user standpoint.

avatar fballem fballem - open - 8 Mar 2022
avatar fballem fballem - change - 8 Mar 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 8 Mar 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Mar 2022
avatar brianteeman
brianteeman - comment - 8 Mar 2022

but it would be a good one from a user standpoint.

Could you explain why?

avatar fballem
fballem - comment - 8 Mar 2022

If I go to the trouble of modifying the parameters around the content language, such as the name, the native title, and possibly the URL Language code, then that's what I should be seeing on the Administrative interface when I'm building my content. I'm not writing in en-GB or fr-FR, I'm writing for English (Canada) or French (Canada). I realise that those are too long to display on such things as the menu, but the URL Language Code is short (en or fr). More reflective of what I am writing.

avatar brianteeman
brianteeman - comment - 8 Mar 2022

I dont know about french but I do know there is a language pack for English (Canada)

avatar fballem
fballem - comment - 9 Mar 2022

I would agree - if there was a way to eliminate en-GB as a content language and if en-CA was maintained by the project team. The challenges are that there is no way to eliminate en-GB and I have encountered issues with trying to use the en-CA language pack. I made the decision to use en-GB as the starting point of English. There is no fr-CA language pack, so I have to use fr-FR language pack.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar brianteeman
brianteeman - comment - 9 Mar 2022

if there was a way to eliminate en-GB as a content language

There is you just remove it from the content language list.

avatar fballem
fballem - comment - 9 Mar 2022

Actually, that does not work. I have installed English (Canada), added it to the Content Languages, changed all of my English content to use English (Canada), and set the default content language to English (Canada). I also removed English (United Kingdom) from the content language list. As you can see from the attached screenshots, English (United Kingdom) is still showing as a selectable language for my content in many places, such as associations.

On an earlier post, I was told that English (United Kingdom) could not be removed, since it is the default installation language. That's why I chose to make minor changes - can't fight city hall.

There is no language pack for French (Canada), so again, I had to make changes to fr-FR in order to make it "look" like it is Canadian.

The fact that Language tags are used instead of the URL Language Code looks quite ugly when building content.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar brianteeman
brianteeman - comment - 9 Mar 2022

You cannot remove the en-gb language but you should be able to remove the en-gb content setting and if not then its a bug

I think you forgot the screenshots

avatar fballem
fballem - comment - 9 Mar 2022

Had a malfunction between chair and keyboard. Screenshots are attached. I do remove the content setting. I suspect that I cannot disable en-GB as a Site Language and that's probably where the issue is arising.

screen shot 2022-03-09 at 11 08 43screen shot 2022-03-09 at 11 08 43screen shot 2022-03-09 at 11 08 43


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar fballem
fballem - comment - 10 Mar 2022

I'd like to offer a suggestion. For those language packs, such as en-CA or en-US, that are 'officially supported' by the Joomla project team, why not allow the user a choice of using those as an installation option. So, instead of just offering English during the installation, offer English (United Kingdom), English (United States), English (Australia), English (Canada), etc. American users must go nuts with British spellings. Canadian users not so much, since we use a happy mix of both American and British English.

Do the same thing for your German users. I'm not sure what you would do for your Portuguese users, since I'm not sure how well supported the two versions of Portuguese are.

Just thinking outside of the box.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar brianteeman
brianteeman - comment - 10 Mar 2022

its already there as part of the install process

avatar infograf768
infograf768 - comment - 10 Mar 2022

The en-GB content language has to be deleted to take it off from all multilingual editing. It works fine.
Also, it is possible to install any supported language at install time. Look at the last screen of installation
Screenshot 2022-03-10 at 12 18 35
.

avatar fballem
fballem - comment - 10 Mar 2022

I don't recall seeing that option during the main installation of Joomla. Since I'm not too far along, I can re-install Joomla from scratch and see if I have that option. Please note that I am installing Joomla using Softaculous that is provided by my webhosting provider. I don't know if that makes a difference.

If it's not on the installation for Joomla itself, then please explain how I get the screen that you showed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar fballem
fballem - comment - 10 Mar 2022

I do want to say "Thank you/merci" for the time that you are spending helping me with this issue.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar fballem
fballem - comment - 10 Mar 2022

I did go into the Extensions to see if I could uninstall en-GB. As the screenshot shows, it's locked and a protected extension. I have made en-CA the default for the site and for administration.screen shot 2022-03-10 at 22 50 29


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar brianteeman
brianteeman - comment - 10 Mar 2022

You can not uninstall the en-GB language as it is needed for when language packs are not 100% up to date.

What @infograf768 was referring to was deleting the CONTENT language which is not the same.

Also I see that you installed using softaculous installer which is their own code and does not offer the ability to set languages at installation

avatar fballem
fballem - comment - 12 Mar 2022

I took your suggestion and re-installed my website using the Joomla package directly. That seems to have solved the majority of the problems that I was having with the multilingual bits in my website. There is nothing that I can do about the French, which shows as fr-FR using the Language tag, instead of fr, using the URL Language Code. There is no French (Canada) language pack.

I can live with it, but it sure would be nice if the change could be made to use the URL Language Code.

If that's not a change that you want to put in the hopper, then feel free to close this ticket.

Again, many thanks for the time you have taken to help me solve the significant problems that I was experiencing!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar brianteeman
brianteeman - comment - 12 Mar 2022

Glad to hear you have made good progress.

Not my call about the language tag change but I suspect it will be a no as its quite a disruptive change

avatar infograf768
infograf768 - comment - 13 Mar 2022

You can use the Language Code system plugin to display fr-ca in html produced instead of fr-FR

Screenshot 2022-03-13 at 09 18 11

Screenshot 2022-03-13 at 09 15 56

avatar brianteeman
brianteeman - comment - 13 Mar 2022

Is there another "trick" to solve these two places

image

image

avatar fballem
fballem - comment - 13 Mar 2022

Thank you for the hint about the Language Code. Since I am using only en-CA and fr-FR in my website, I have changed them to en and fr respectively.

I am hoping that someone can solve for the last two places.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar infograf768
infograf768 - comment - 14 Mar 2022

@fballem
The language code as set in that system plugin is NOT the URL language code. This is why I posted the htlm result where you can see both. We created that plugin to help search engines.

AFAIK, there are no tricks yet to use the language code as defined in the plugin for the associations badges.

avatar infograf768
infograf768 - comment - 16 Mar 2022

Concerning associations badges, see patch here
#37289

avatar fballem
fballem - comment - 16 Mar 2022

That will certainly solve the last lingering issue. I assume that when the patch is put into production, there will be an update identified on Joomla.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar richard67
richard67 - comment - 20 Mar 2022

So as we have a pull request, #37289 , can we close this issue like we usually do when we have a pull request? Or is there something remaining which is not solved by that pull request and previous advice?

The bad new could be that the pull request might be delayed until 4.2 because the change is considered to be a new feature.

avatar fballem
fballem - comment - 20 Mar 2022

I'm not sure what a 'pull request' means. If this means that the change will be included in a Joomla update then I would be content to close this issue. I have been able to get my site up and running pretty close to perfect and the pull request would fix the final lingering issue. I'm also okay if the update doesn't occur prior to 4.2, since we are running 4.1 now.

Thanks everyone for all of your help!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37228.

avatar richard67
richard67 - comment - 20 Mar 2022

A pull request is a proposed code change here on GitHub, like #37289 is.

avatar richard67 richard67 - change - 20 Mar 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-03-20 14:29:59
Closed_By richard67
avatar richard67 richard67 - close - 20 Mar 2022
avatar richard67
richard67 - comment - 20 Mar 2022

Closing as having a pull request. Please test #37289 . Thanks in advance.

Add a Comment

Login with GitHub to post a comment