OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Language + Alphabetical ordering List - BUGs (0 viewing) 
SEF Translate module support
Go to bottom Favoured: 0
TOPIC: Language + Alphabetical ordering List - BUGs
#41693
joomleb (User)
Expert Boarder
Posts: 97
graphgraph
User Offline Click here to see the profile of this user
Re:Language + Alphabetical ordering List - BUGs 4 Months, 3 Weeks ago Karma: 0  
Hi guys,

7 - many thanks to infograf768 on Joomla Language forum we have the right code suggestments to solve this bug. Please, read all the discussion carefully

6D - About to modify "locale order" using some javascript:
- javascript sort with unicode
- How to compare Unicode strings in Javascript?
 
Logged Logged  
 
Last Edit: 2019/07/01 20:59 By joomleb.
  The administrator has disabled public write access.
#41702
admin (Admin)
Admin
Posts: 6648
graph
User Offline Click here to see the profile of this user
Re:Language + Alphabetical ordering List - BUGs 4 Months, 3 Weeks ago Karma: 77  
Hello

Thank you for your research !

I am sorry, all not so simply
Please check, all these errors and modifications need if we start translate languages.ini or create this file for every language. Where every user may set your languages.

Also, "Select list" with languages we created one time, when we create web page. So if we start translate languages.ini, and we will need reorder languages depend of how they look after translate. We will need Create Javascript - which will every time recreate list with languages

Sorry, we will move all this to next version

Regards
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#41705
joomleb (User)
Expert Boarder
Posts: 97
graphgraph
User Offline Click here to see the profile of this user
Re:Language + Alphabetical ordering List - BUGs 4 Months, 3 Weeks ago Karma: 0  
Hi guys,
Sorry, we will move all this to next versionThanks, I listed this into the Wishlist topic I made for next version

Why the "Á" is not transformed lowercase (when it is not the initial letter) ?

As I explained above it is because the php native method strtolower() does not work with UTF8.
Just explain the developer of the extension that he has to use
StringHelper:trtolower() after namespacing by adding `use JoomlaStringStringHelper;` when J version is 3.9+
It will solve the issue nicely EVERYWHERE a similar code exists as it is totally UTF8 compatible.
Anyway, I think this is the first step

I stay tuned here to help!


PS - Please, meanwhile, Is there a simple way to skip the reorder rule (switch off) to have it running well on our sites ?
 
Logged Logged  
 
Last Edit: 2019/07/02 14:59 By joomleb.
  The administrator has disabled public write access.
#41719
admin (Admin)
Admin
Posts: 6648
graph
User Offline Click here to see the profile of this user
Re:Language + Alphabetical ordering List - BUGs 4 Months, 3 Weeks ago Karma: 77  
Is there a simple way to skip the reorder rule (switch off)
Please in file

{your site}/modules/mod_seftranslate/tmpl/default.php

find and remove next row

Code:

     $show_lang_arr1 = ksort($show_lang_arr) ; //try sort but not work with unicode


Please backup this file firs

Regards
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?