Sorry, I misunderstood my translation before,
The video has been re-recorded, you check your email
X3 Photo Gallery Support Forums
Need to finish some Files app documentation first. Will release a new version by end of next week with a solution.amwpsaa wrote:When can this problem be fixed? Very important.
Not press, just want to know progress...mjau-mjau wrote:Need to finish some Files app documentation first. Will release a new version by end of next week with a solution.amwpsaa wrote:When can this problem be fixed? Very important.
Sorry, finishing the new Files website and docs currently, should be out in a few days. I'll look into the update (with sorting) from next week, but it might be 2 weeks until I can get anything out now with Christmas ...rampageX wrote:Not press, just want to know progress...
Can I ask for testing purpose, is the issue resolved if you add this at top of the files app index.php?rampageX wrote:Not press, just want to know progress...
setlocale(LC_CTYPE, "UTF8", "en_US.UTF-8");
I add the code, but the sorting issue still there.mjau-mjau wrote:Can I ask for testing purpose, is the issue resolved if you add this at top of the files app index.php?rampageX wrote:Not press, just want to know progress...It seems to fix another issues for Chinese user, see Github issue.Codesetlocale(LC_CTYPE, "UTF8", "en_US.UTF-8");
Sorry for the delay, as I was busy with the new website www.files.gallery.
Strange. In array #3, there is the SAME sorting method as we used in previous Files app version, which Chinese users reported was correct. I think you also reported it was sorting correctly. The below Chinese sorting words is wrong?rampageX wrote:Chinese OS, the bottom 3x arrays all sort the two Chinese words correctly.
["10name", "2name", "aa", "BBB", "xx", "zèbre", "écureuil", "中国", "非洲"]
This is solved correctly by localeCompare() used in current Files app version. As you can see in last three arrays (both mine and yours), "écureuil" correctly comes after "BBB", before "xx".rampageX wrote:dont know how 'zèbre' 'écureuil' will be sort
"BBB", "écureuil", "xx"
I don't see how that is possible with any Javascript code. Anyone please feel free to try from my jsbin:rampageX wrote:..., but i am sure all the latin words will be front of chinese words.Code2name 10name aa BBB xx 非洲 中国
new Intl.Collator(undefined, { numeric: true, sensitivity: 'base' });
new Intl.Collator('de', { numeric: true, sensitivity: 'base' });