There is a problem with the article alias (İ letters) Topic is solved

General questions regarding the use of languages in Joomla! 3.x.

Moderators: infograf768, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
User avatar
ithaki
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Fri Mar 12, 2010 9:35 pm
Location: İzmir / Türkiye

There is a problem with the article alias (İ letters)

Post by ithaki » Fri Jun 19, 2020 10:00 am

Article Title;
İskenderun
Auto Alias
i-skenderun

Must be
iskenderun
Last edited by toivo on Sun Jun 21, 2020 6:39 am, edited 1 time in total.
Reason: mod note: moved from 3.x Bug Reporting on request
İthaki / Türkiye
Webmaster
https://www.ithakiajans.com

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 22846
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: There is a problem with the article alias (İ letters)

Post by pe7er » Fri Jun 19, 2020 11:08 am

I cannot reproduce your issue. Do you have any 3rd party plugins active that might change it?

In Joomla 3.9.19 with en-GB English as default admin language,
I've created a new article "Is this really an issue?" and Joomla creates automatically the alias "is-this-really-an-issue".

In Joomla 3.9.19 with tr-TR (version 3.9.4.1) as default admin language,
I've tried "İskenderun" which got the alias "iskenderun".

Could you please try to reproduce this error with a new Joomla 3.9.19 installation without any 3rd party extensions (like plugins)?
And first with en_GB as default admin language, then with tr_TR as default admin language?
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
The best website: https://the-best-website.com

User avatar
ithaki
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Fri Mar 12, 2010 9:35 pm
Location: İzmir / Türkiye

Re: There is a problem with the article alias (İ letters)

Post by ithaki » Fri Jun 19, 2020 11:16 am

ok. experimenting, I'll give you informatio. thx
İthaki / Türkiye
Webmaster
https://www.ithakiajans.com

User avatar
ithaki
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Fri Mar 12, 2010 9:35 pm
Location: İzmir / Türkiye

Re: There is a problem with the article alias (İ letters)

Post by ithaki » Fri Jun 19, 2020 11:51 am

Hi pe7er

I installed a clean Joomla 3.9.19
The error continues

Admin Language En;
İkarus
i-karus

Admin Language Tr;
İletişim
i-letisim

:(
This is a new problem. Did not exist before
İthaki / Türkiye
Webmaster
https://www.ithakiajans.com

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 22846
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: There is a problem with the article alias (İ letters)

Post by pe7er » Fri Jun 19, 2020 12:39 pm

Please use Forum Post Assistant to give somewhat more info about your setup:
https://forumpostassistant.github.io/docs/
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
The best website: https://the-best-website.com

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 39234
Joined: Sat Apr 05, 2008 9:58 pm

Re: There is a problem with the article alias (İ letters)

Post by Webdongle » Fri Jun 19, 2020 12:54 pm

What is the first letter? It looks like an I (capital i) but with a dot over it like a lower case i
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 22846
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: There is a problem with the article alias (İ letters)

Post by pe7er » Fri Jun 19, 2020 1:12 pm

Webdongle wrote:
Fri Jun 19, 2020 12:54 pm
What is the first letter? It looks like an I (capital i) but with a dot over it like a lower case i
Yes, "Dotted İi and dotless Iı are separate letters in Turkish and Azerbaijani"
https://en.wikipedia.org/wiki/Dotted_and_dotless_I
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
The best website: https://the-best-website.com

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 22846
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: There is a problem with the article alias (İ letters)

Post by pe7er » Fri Jun 19, 2020 1:17 pm

I think that it's inevitable because if dotted İi and dotless Iı are both converted to lowercase "i",
then you will run into problems.

I suppose that
dotted İ is seen as a special symbol and converted to i- (i + dash)
and dotless I to i (i without a dash)
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
The best website: https://the-best-website.com

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 27314
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: There is a problem with the article alias (İ letters)

Post by Per Yngve Berg » Fri Jun 19, 2020 2:01 pm

I can confirm the issue with the Turkish Capital i (İ).

Enabling Unicode aliases made the issue go away.

I could not find any issued with the non dotted i.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 39234
Joined: Sat Apr 05, 2008 9:58 pm

Re: There is a problem with the article alias (İ letters)

Post by Webdongle » Fri Jun 19, 2020 4:33 pm

pe7er wrote:
Fri Jun 19, 2020 1:17 pm
...

I suppose that
dotted İ is seen as a special symbol and converted to i- (i + dash)
and dotless I to i (i without a dash)
That was my thinking
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein.

User avatar
ithaki
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Fri Mar 12, 2010 9:35 pm
Location: İzmir / Türkiye

Re: There is a problem with the article alias (İ letters)

Post by ithaki » Sat Jun 20, 2020 6:21 pm

"Enabling Unicode aliases has resolved the issue."
But it will cause problems on multilingual sites

It was working fine before a few versions
İthaki / Türkiye
Webmaster
https://www.ithakiajans.com

User avatar
ithaki
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Fri Mar 12, 2010 9:35 pm
Location: İzmir / Türkiye

Re: There is a problem with the article alias (İ letters)

Post by ithaki » Sat Jun 20, 2020 6:33 pm

Interesting
The last character in the word does not cause problems

Testİ İleri denemİler Testİ
testi-i-leri-denemi-ler-testi
İthaki / Türkiye
Webmaster
https://www.ithakiajans.com

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 9886
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: There is a problem with the article alias (İ letters)

Post by sozzled » Sun Jun 21, 2020 3:28 am

ithaki wrote:
Sat Jun 20, 2020 6:21 pm
"Enabling unicode aliases has resolved the issue" but it will cause problems on multilingual sites.
I don't know what problems this will cause.

ithaki wrote:
Sat Jun 20, 2020 6:21 pm
It was working fine before a few versions
I tested, created an article with the title "İskenderun" with J! 3.9.19 and it created the article with the alias "i-skenderun". I tested the same thing on a test site running J! 3.8.13—that's 20 version ago—and it created the article with the alias "i-skenderun". So this is not a new thing.

Global Configuration » Site » SEO Settings » Unicode Aliases » Yes will "fix" this but, as I wrote earlier, I do not know what other "problems" this will cause.

Different things happen with accented characters:

Österreich ==> oesterreich
Éclairs ==> eclairs
Æða ==> aedha
Ångström ==> angstroem
Øresund bridge ==> oresund-bridge

From what I can see (and I could be wrong) the alias URL involves stringURLSafe that has been around since J! 1.7 (see https://api.joomla.org/cms-3/classes/Jo ... ilter.html). Also see discussion on GitHub about the OP's issue: https://github.com/joomla/joomla-cms/issues/27875; perhaps you used @infograf768's patch and did not re-apply it after you updated your J! software recently?
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
ithaki
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Fri Mar 12, 2010 9:35 pm
Location: İzmir / Türkiye

Re: There is a problem with the article alias (İ letters)

Post by ithaki » Sun Jun 21, 2020 6:52 pm

Enabling "enabling Unicode aliase" is risky for Seo.

-Enabling unicode aliase
Title; Şiş Kebap
Auto alias; şiş-kebap <-- Bad url for seo. Non-english characters. (This topic is controversial. But we shouldn't risk)

-Disable unicode aliase;
Title; İce
Auto alias; i-ce <-- Bad url for seo. Meaningless words.
İthaki / Türkiye
Webmaster
https://www.ithakiajans.com

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 9886
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: There is a problem with the article alias (İ letters)

Post by sozzled » Sun Jun 21, 2020 8:35 pm

ithaki wrote:
Sun Jun 21, 2020 6:52 pm
Enabling "enabling Unicode aliase" is risky for Seo.

-Enabling unicode aliase
Title; Şiş Kebap
Auto alias; şiş-kebap <-- Bad url for seo. Non-english characters.
I tested.

Global Configuration » Site » SEO Settings » Unicode Aliases » No (default setting): Şiş Kebap ==> sis-kebap

Global Configuration » Site » SEO Settings » Unicode Aliases » Yes: Şiş Kebap ==> şiş-kebap.

I agree that the alias (generated when Unicode Aliases » Yes) in this case is incorrect because it contains unsafe ASCII characters (see https://www.urlencoder.io/learn/):
A URL is composed from a limited set of characters belonging to the US-ASCII character set. These characters include digits (0-9), letters(A-Z, a-z), and a few special characters ("-", ".", "_", "~").

ASCII control characters (e.g. backspace, vertical tab, horizontal tab, line feed etc), unsafe characters like space, \, <, >, {, } etc, and any character outside the ASCII charset is not allowed to be placed directly within URLs.
Thank you, @ithaki, for explaining your point. The question about whether "İ" should be replaced with "i" or "i-" is a good question but I don't know what will be done about it. The question about whether people should use
  • Global Configuration » Site » SEO Settings » Unicode Aliases » Yes, or
  • Global Configuration » Site » SEO Settings » Unicode Aliases » No
is also interesting if (in the first-mentioned cased) accented characters not replaced with "safe" US-ASCII equivalent characters.
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19034
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: There is a problem with the article alias (İ letters)

Post by infograf768 » Tue Jun 23, 2020 11:12 am

Folks, this is a well known issue.
Please read
https://github.com/joomla/joomla-cms/issues/27875
and specially https://github.com/joomla/joomla-cms/is ... -588080115
and
https://github.com/joomla/joomla-cms/pull/16880

I am explaining all about it there.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Post Reply

Return to “Language - Joomla! 3.x”