# Removing the concept of "slugs" for some languages

**URL:** <https://meta.discourse.org/t/removing-the-concept-of-slugs-for-some-languages/26643>\
**Category:** Feature\
**Created:** [2015 年3 月 23 日 00:36 UTC](https://meta.discourse.org/t/removing-the-concept-of-slugs-for-some-languages/26643 "2015-03-23T00:36:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
发布日期： [2015 年3 月 22 日 23:26 UTC](https://meta.discourse.org/t/removing-the-concept-of-slugs-for-some-languages/26643/1 "2015-03-22T23:26:44Z")

</div>

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.

Our default behavior, which is to “only keep English” is even more offensive. Even in India there is no such practice. (though there is this very creative practice in some places [http://videos.jagran.com/news-pm-modi-defends-land-bill-says-it-is-aimed-at-welfare-of-farmers-in-mann-ki-baat-v8323.html](http://videos.jagran.com/news-pm-modi-defends-land-bill-says-it-is-aimed-at-welfare-of-farmers-in-mann-ki-baat-v8323.html) )

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

1. English slugs (default for latin based languages)
2. Percent encoded slugs (for full unicode support)
3. 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.

See also:

> [@Disabling English slugfier for topic's URL in Korean language setting](https://meta.discourse.org/t/disabling-english-slugfier-for-topics-url-in-korean-language-setting/23780):
>
> Continuing the discussion from [Making Non-English Category URL Understandable. Not like /c/13-category](https://meta.discourse.org/t/making-non-english-category-url-understandable-not-like-c-13-category/22206/15): @sam Would you disable English slugfier for topic title totally in Korean language setting? (Better to disable for category URLs by default also, but cat URLs can be changed manually.) For now, if I make a topic with Korean: "안녕하세요 여러분" → then it will be made with URL /t/topic/192. It’s OK. But if I make a topic with Korean + English: "Interstellar 주인공 이름이 뭐죠?" → then it will be made with…

cc @fantasticfears@winterbox@amitfrid@eyalev

---

_[View the full topic](https://meta.discourse.org/t/removing-the-concept-of-slugs-for-some-languages/26643)._
