J4 Issue ?
avatar infograf768
infograf768
3 Dec 2018

Steps to reproduce the issue

Install a clean 4.0 branch or nightly
Select en-US as language at installation time. (I also tested with fa-IR after adding that lang to installation languages)
Pass steps one after the other. en-US is kept as language and direction until getting to the index.php?view=remove&layout=default page where you can choose to Customise Installation or Complete and Open Site, or Complete & Open Admin

Expected result

The en-US is still the language set for the page and subsequent pages until opening site or admin.

Actual result

It switches to en-GB and subsequent specific installation pages after clicking Customise Installation also.

Also, but this has already been stated quite some time ago, Languages still can't be installed if choosing such.

@dgrammatiko

I guess this is due to the setup.js or remove.js files not keeping the chosen installation language.
Concerning installing languages, no idea at all.

avatar infograf768 infograf768 - open - 3 Dec 2018
avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Dec 2018
avatar infograf768 infograf768 - change - 3 Dec 2018
Labels Added: J4 Issue
avatar infograf768 infograf768 - labeled - 3 Dec 2018
avatar infograf768
infograf768 - comment - 4 Dec 2018

@Fedik
Can you have a look?

avatar Fedik
Fedik - comment - 4 Dec 2018

Concerning installing languages, no idea at all.

me to :)
I will try to check, but not faster than next week

avatar Fedik
Fedik - comment - 1 Jan 2019

I guess this is due to the setup.js or remove.js files not keeping the chosen installation language.

These files doing nothing tricky, just "show"/"hide" specific HTML section, and sometimes send AJAX request.
The language handled by server side.

tbh, I have no idea, maybe something with session, but I cannot prove

It switches to en-GB and subsequent specific installation pages after clicking Customise Installation also.

When you click Customise then remove.js just display a hidden <fieldset> of languages, that already rendered on server. Maybe something with translation in View.

avatar dgrammatiko
dgrammatiko - comment - 1 Jan 2019

maybe something with session

Exactly, it's the PHP side that looses the state, not the client side

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Mar 2019
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Mar 2019
Category com_installer
avatar infograf768
infograf768 - comment - 6 Jun 2019

Closing in favour of #25130 as it is more detailed.

avatar infograf768 infograf768 - close - 6 Jun 2019
avatar infograf768 infograf768 - change - 6 Jun 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-06-06 07:53:30
Closed_By infograf768

Add a Comment

Login with GitHub to post a comment