Slugs error for persian language

i have some problem whit use slugs

 Slug is already in use

but i dont have any similar slug and used slug

Just like with topics, category slugs can only use latin characters and dashes. The arabic characters that would make the slug unique are most likely silently removed, and the remaining empty or default slug is the same for several categories, hence the error.

1 Like

In our Rails app, in cases when we need to make a slug from an arabic title, we generate a random hash. Don’t know if that’d be applicable here.

As elberet mentioned you can only use latin characters for slugs.
Anyway, Discourse shouldn’t silently change the slug provided by the user. It should at least show an appropriate error message.

I guess if the following feature would be implemented, arabic slugs could work as well.

3 Likes