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

Slug transliteration #194 #1148

Closed
wants to merge 1 commit into from
Closed

Slug transliteration #194 #1148

wants to merge 1 commit into from

Conversation

yagobski
Copy link

Currently slugs are generated using only alphanumeric characters, replacing anything else with a hyphen. I improve Slug function to support some degree of transliteration for non-Latin languages still get slugs.

Currently slugs are generated using only alphanumeric characters, replacing anything else with a hyphen. I improve Slug function to  support some degree of transliteration for non-Latin languages still get slugs.
@yagobski
Copy link
Author

Please check this pull request. It will fix the issues:
Slug transliteration #194
Search engine optimization #189
SEO URLs Faulty #433
Arabic titles doesn't work for URL #442

@franzliedke
Copy link
Contributor

Did you take this code from WordPress?

@franzliedke
Copy link
Contributor

It looks like you did. Pretty sure that we can't use WordPress code (especially not without attribution) - as WordPress is licensed under GPL.

@tobyzerner
Copy link
Contributor

Plus we still haven't actually decided on a strategy/approach in #194?

@yagobski
Copy link
Author

Yes I used same function like Wordpress but a little bit modified.
This Slug strategy cover all approach described i #194
Flarum can't be used in other languages without this Slug function.

@franzliedke
Copy link
Contributor

I will close this then.

We are more than happy to accept contributions here, but let's agree on a solution in #194 first. And we will have to use a library with a compatible license.

Thanks for the initiative!

@Zeokat Zeokat mentioned this pull request May 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants