?
avatar N6REJ
N6REJ
20 Apr 2020

Steps to reproduce the issue

install j4.
during install choose "english us" instead of "english uk"

Expected result

Us language pack installed, uk NOT

Actual result

only UK installed

System information (as much as possible)

current 4.0-dev

Additional comments

avatar N6REJ N6REJ - open - 20 Apr 2020
avatar joomla-cms-bot joomla-cms-bot - change - 20 Apr 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Apr 2020
avatar richard67
richard67 - comment - 20 Apr 2020

@N6REJ Sorry to say, but this is expected behavior right now. You have to do the additional step at the end of the installation and install the en-US language. But this will not work for J4 yet. There is already an open issue for that, will search it.

avatar richard67
richard67 - comment - 20 Apr 2020

@N6REJ Dont find it now. @infograf768 Could you confirm if my comment above is right? And do you know if we have some issue for that, installation of the language previously selected for the installation at the end of installation and setting it to default?

avatar Bakual
Bakual - comment - 20 Apr 2020

Afaik, the only language available for J4 are french and persian (I think). en-US isn't one of them and thus I expect it to fail anyway.

avatar richard67
richard67 - comment - 20 Apr 2020

German, too, is available. But not en-US.

avatar richard67
richard67 - comment - 20 Apr 2020

Anyway, the assumption that the language selected for running the installation determines which language(s) are installed and used later is wrong.

avatar N6REJ
N6REJ - comment - 20 Apr 2020

Anyway, the assumption that the language selected for running the installation determines which language(s) are installed and used later is wrong.

thats counter-intuitive.

avatar richard67
richard67 - comment - 20 Apr 2020

Maybe, but that's how it works with a regular installation package, as far as I remember also for J3. It might be different when using a localized package.

And I've seen it often with setup programs on Windows that you can select the language for the setup process and the one later to be installed independently, so that seems at least not to be completely uncommon.

avatar N6REJ
N6REJ - comment - 20 Apr 2020

so, do we want to close it as "not a bug" ?

avatar richard67
richard67 - comment - 20 Apr 2020

We can wait a bit for feedback.

avatar ChristineWk
ChristineWk - comment - 20 Apr 2020
avatar richard67
richard67 - comment - 20 Apr 2020

@ChristineWk Yeah, you found it. That was the one I had in mind.

avatar richard67 richard67 - change - 20 Apr 2020
Status New Duplicate Report
Closed_Date 0000-00-00 00:00:00 2020-04-20 18:15:02
Closed_By richard67
avatar richard67 richard67 - close - 20 Apr 2020
avatar richard67
richard67 - comment - 20 Apr 2020

Closing as partly no bug (we simply don't have an en-US language pack working for J4 yet) and partly a duplicate of #24481 .


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

avatar brianteeman
brianteeman - comment - 20 Apr 2020

Its always been a bug. I keep raising this but no one is interested in it except english speakers like me and george who it doesnt effect

avatar richard67
richard67 - comment - 20 Apr 2020

@brianteeman So do you suggest to re-open this one here? Or is it sufficient to have #24481 open?

avatar richard67
richard67 - comment - 20 Apr 2020

At least the title should be changed when re-opening this, because it's not a but that currently the en-US language pack isn't ready for J4.

avatar gerryfrancis
gerryfrancis - comment - 21 Apr 2020

From the view of an average Joomla! user: I was not aware that en-US is not included, although I do not need it anyway. But I recommend to integrate it, as the U.S. are probably the biggest market for Joomla!, and the Internet was invented there, too. Some beginners in the U.S. maybe do not even know that they are using the "wrong" language for their sites.

avatar richard67
richard67 - comment - 21 Apr 2020

@gerryfrancis We are talking about Joomla 4 here. It is work in progress on the way to beta, and for being able to test multilanguage aspects we are able to use some language packs which are for Joomla 3. The infrastructure for Joomla 4 language packs is currently being built up. So the current status is an intermediate solution, and as such it should be discussed, and not as if it was the final status of Joomla 4.

avatar gerryfrancis
gerryfrancis - comment - 21 Apr 2020

@richard67 Oops, sorry about that, I have missed the [4.0] label on this one. ;)

avatar infograf768
infograf768 - comment - 21 Apr 2020

Folks, it is NOT a bug, whatever some says.
It just was never implemented when installing languages packs directly from specific managers in administration and J installation.
Therefore you can call that an oversight or a missing feature but certainly not a bug.

Indeed the ideal would be to make sure, if a pack corresponding to the installation language is available, and is not already included in the distro, to install it when installing Joomla.

Also, the ideal would be:

  1. If the user does not chose to install other languages, to automatically set that pack as default admin and site language.
  2. If the user chooses to install other languages, to keep proposing what we have now, i.e. choosing the admin and site language among installed packs, possibly highlighting the one corresponding to the installation language.

I question though adding en-US in core. For historical reasons (from Mambo times), en-GB has always been the default core language and US imperialism is not accepted here ? , (British imperialism being a thing of the past ? ), biggest market or not...

One could say that it should be replaced by something called International English, but there is no country code and nor common vocabulary independent of en-GB or en-US and en-AU, etc. for Intl English.

If someone is interested to implement this new functionality in Joomla 4, code is welcomed.

avatar infograf768 infograf768 - change - 21 Apr 2020
Title
en-us Language packs not installed during install
[4.0] Language packs not installed during install
avatar infograf768 infograf768 - edited - 21 Apr 2020
avatar astridx
astridx - comment - 22 Apr 2020

@infograf768 Also, the ideal would be:
If the user does not chose to install other languages, to automatically set that pack as default admin and site language.

I would not do something automatically. I would ask him.

What do you think ?

avatar infograf768
infograf768 - comment - 22 Apr 2020

I would not do something automatically. I would ask him.

Why not. I am always in favor of user decision.

avatar richard67
richard67 - comment - 22 Apr 2020

Hmm, for the case that only one language is installed, there is no need to ask. And it needs a default language for admin and one for site also in this case. So for me it is ok like it is descibed above.

avatar infograf768
infograf768 - comment - 22 Apr 2020

BTW @astridx
we have a bug when installing languages and going back to the list, then not installing another language.

buginstalllang

avatar infograf768
infograf768 - comment - 22 Apr 2020

@astridx
Also, if you volunteer to code installing a language pack corresponding to the installation language, I suggest you add French to the installation languages in 4.0 as we can install French in J4 from the repo.
Although it is the 3.x version, here is a zip which is enough to test such code.
fr-FR.zip

avatar astridx
astridx - comment - 22 Apr 2020

@richard67 Hmm, for the case that only one language is installed, there is no need to ask. And it needs a default language for admin and one for site also in this case. So for me it is ok like it is descibed above.

I am not sure if I understand everything correct.

It could be, that a German make the installation for a French Customer. In this case he maybe make the installation in German, but he do not like to install German for the Website.
That is why I would ask.

avatar richard67
richard67 - comment - 22 Apr 2020

Ah, ok, then I misunderstood. I thought you meant asking for the default languages at the end. This would not be necessary if only one language is installed, that's what I meant.

But your scenario is that only one language shall be installed, but not the one which was the installation running with. That needs of course a way to ask the user if the installation language shall be installed or not.

Add a Comment

Login with GitHub to post a comment