? ? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
18 Apr 2018

Pull Request for Issue #9225

Summary of Changes

As title says.
This PR lets ALSO use the param when using dropdown, with images or without images.
Changed order of params. Took off the Spacer and its lang string. Corrected a typo in a lang string.

Testing Instructions

Create a simple multilingual site and display the lang switcher in frontend.
When present when editing the module, choose No for the Full Languages Names parameter

After patch, the Full Languages Names parameter will also work when using the dropdown.

Examples:
screen shot 2018-04-18 at 08 37 14

screen shot 2018-04-18 at 08 39 09

And lets still use it when not using dropdown.

screen shot 2018-04-18 at 08 40 22

screen shot 2018-04-18 at 08 41 48

One can also test when choosing yes for the Full Name param.

@artur-stepien
@andrepereiradasilva

avatar infograf768 infograf768 - open - 18 Apr 2018
avatar infograf768 infograf768 - change - 18 Apr 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Apr 2018
Category Language & Strings Modules Front End
avatar brianteeman
brianteeman - comment - 18 Apr 2018

Can I ask the reasoning for the strtoupper - isnt that a style choice?

avatar artur-stepien
artur-stepien - comment - 18 Apr 2018

@brianteeman Cause it looks and feels a bit better and then : En Fr Ru Pl? Also the readability is higher. So I assume its better to use a style that provides better readability out of the box. But isn't big of a deal doing it with CSS either

avatar brianteeman
brianteeman - comment - 18 Apr 2018

As its purely for style then I think it would be better to do it in CSS - that way a user can change it if they dont want it to be uppercase. It "might" not be appropriate for some languages to be transformed to uppercase

avatar artur-stepien
artur-stepien - comment - 18 Apr 2018

@brianteeman It isn't for styling, its more for readability. And some language names are hard to read like Pl, it can be PL or PI depends on how to look on it, uppercase chars are easier to read

avatar infograf768
infograf768 - comment - 18 Apr 2018

We have always used strtoupper as it is what users asked for some time after the first multilingual feature release. We did agree at that time it made totally sense.
This PR is NOT changing this behaviour and I see no reason to modify it for the reasons explained above by @artur-stepien

@artur-stepien
Can you please test the PR and. if it does work for you in all cases, then mark it OK here:
https://issues.joomla.org/tracker/joomla-cms/20192
tks.

avatar artur-stepien
artur-stepien - comment - 18 Apr 2018

@infograf768 I will but in the evening.

avatar brianteeman
brianteeman - comment - 18 Apr 2018

thank you for the explanation

avatar infograf768 infograf768 - change - 19 Apr 2018
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 9 May 2018

I have tested this item successfully on 018bea8


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

avatar brianteeman brianteeman - test_item - 9 May 2018 - Tested successfully
avatar artur-stepien
artur-stepien - comment - 5 Jun 2018

I have tested this item successfully on 018bea8


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

avatar artur-stepien artur-stepien - test_item - 5 Jun 2018 - Tested successfully
avatar Quy Quy - change - 5 Jun 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 5 Jun 2018

RTC


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

avatar infograf768 infograf768 - change - 5 Jun 2018
Labels Added: ?
avatar laoneo laoneo - close - 8 Jun 2018
avatar laoneo laoneo - merge - 8 Jun 2018
avatar laoneo laoneo - change - 8 Jun 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-06-08 16:30:44
Closed_By laoneo
avatar laoneo
laoneo - comment - 8 Jun 2018

Thanks @infograf768!!

Add a Comment

Login with GitHub to post a comment