The discussion revolves around removing or rethinking the concept of “slugs” for non-ASCII languages in Discourse, as the current practice of transliterating non-Latin scripts into English is seen as offensive and impractical. sam argues that URLs like site.com/t/42 are more universally acceptable and proposes three options for slug handling: English (ASCII), percent-encoded (full Unicode), and no slugs. fantasticfears supports the idea and implements a solution, presenting settings and examples for each option fantasticfears. The proposal is refined, with “English” renamed to “ASCII” fantasticfears. However, issues arise with the “encoded” slug method causing infinite redirects due to improper URI decoding, and a lack of mechanism to clear cached slugs when changing slug generation settings sam. tgxworld confirms the issue and notes that the problem was resolved with a fix that allows users to “re-cook” slugs tgxworld.
Discourse is trying to shoehorn the concept of “pretty slugs” to non ascii char set based languages. It may be acceptable to do this transliteration in Norwegen or Turkish, but stuff gets really weird when you do it in Korean or Chinese or Arabic.
When you look at alexa top 100 for say Egypt or China or any non-latin alphabet you never see this concept of a “slug” which is attempting to convert your alphabet to English. It is offensive and comical.
I am willing to bet big bucks that this issue would never have been raised repeatadly if the URL was site.com/t/42, most non-ascii languages are used to this anyway 99% of the time.
Personally I think going forward we should allow site operators 3 options
English slugs (default for latin based languages)
Percent encoded slugs (for full unicode support)
No slugs (default for non latin based languages)
I also think we should junk StringEx, I think it just does not fit in correctly with the philosophy of slugs and simply looks buggy, if people want to turn their language into an English farce, so be it, but do that in a plugin.
Probably not, as I’d venture to guess he has zero to little programming knowledge. Discourse is getting a lot more CM (Community Manager) attraction now and a lot of those who are engaging here on Meta are no longer devs/programmers, but the CMs. To ask a CM to submit a PR is just unrealistic.
Just for clarification, there is a big difference between changing CSS/SCSS and actual programming changes. I have no idea what @Qasem_h’s experience is, but I definitely see more CMs participating in Meta than what were here several months ago.