Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add support for cyrillic slug and aliases #520

Closed
TheRealMaN opened this issue Apr 26, 2016 · 5 comments
Closed

Please add support for cyrillic slug and aliases #520

TheRealMaN opened this issue Apr 26, 2016 · 5 comments

Comments

@TheRealMaN
Copy link

Please add support for cyrillic slug and aliases, e.g. for russian language e.g. "/о-компании", "/новости" and etc

@rhukster
Copy link
Member

We use this definition of Slugs - https://en.wikipedia.org/wiki/Semantic_URL#Slug

As such they must be lowercase english characters. Really the only place this is validated though is the admin. So if you don't use the admin, you can use whatever you like.

@TheRealMaN
Copy link
Author

If I write a cyrillic slug (e.g. slug: контакты) in a file and don't use the admin, grav returns a 404 error. Wordpress or Joomla supports it out of the box, it would be nice to have it in Grav.

@rhukster
Copy link
Member

I don't suppose you could debug/add this and issue a pull request? :)

@TheRealMaN
Copy link
Author

I would like to if I could)

@rhukster
Copy link
Member

Should be sorted with this: getgrav/grav@4573173

Hopefully it's not broken anything!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants