Closed fabrikamedya closed 1 day ago
Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't completed the template yet, please take a moment to do so. This ensures that we fully understand your feature request or bug report. A core team member will review your issue and get back to you.
If you like Orchard Core, please star our repo and join our community channels.
This is because the SlugService
removes the diacritics, have a look to this test
Hisham, the issue here is that SlugService
doesn't remove the Turkish diacritics.
Maybe I am confused with the "I" symbol in the screenshot, I will try to reproduce the issue
@fabrikamedya ignore my first comment
I wrote my own liquid filter for this problem. All it does is convert the character "i" to "i".
I wrote my own liquid filter for this problem. All it does is convert the character "i" to "i".
Great! Thank you.
@emrahtokalak that's not enough, the fix should remove all Turkish diacritics
Duplication of #4874 ?
There are special characters "ÇçğİiÖÖŞŞÜü" in Turkish. In addition to the existing SlugService, replacing the letter ı with i seems sufficient.
Yes, this is actually a duplicate of https://github.com/OrchardCMS/OrchardCore/issues/4874. Let's continue there.
Describe the bug
I am using OrchardCore in Turkish. In Turkish, there are characters such as ı, I, ş, Ş, ö, Ö, ü, Ü, ğ, Ğ, ç, and Ç. I am experiencing an issue where, when I use Turkish characters (ı) in titles, the URL slug is also created with Turkish characters.
Describe the bug
Orchard Core version
orchardcore-cms-linux:1.8.2
Add the version of the Orchard Core NuGet packages you use, or the commit hash if you can reproduce this with the source code.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When I create a title with Turkish characters, I want the URL slug to be generated with English characters as it normally should be.
Logs and screenshots