You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why this feature is required (specific use-cases will be appreciated)?
Makes slugs working with non-english words / letters
For example currently it turns "Анна" to "" (emptry string), while it should be "anna" "Анна (Musti) Černáč" is turned to "musti-ern" while it should be anna-musti-cernac
It's limitation of @poppins/utils, and it's string.slugify() which uses slugify package under the hood. Slugify packge just deletes all non-english letters https://www.npmjs.com/package/slugify
Why this feature is required (specific use-cases will be appreciated)?
Makes slugs working with non-english words / letters
For example currently it turns
"Анна"
to""
(emptry string), while it should be"anna"
"Анна (Musti) Černáč"
is turned to"musti-ern"
while it should beanna-musti-cernac
It's limitation of @poppins/utils, and it's
string.slugify()
which usesslugify
package under the hood. Slugify packge just deletes all non-english letters https://www.npmjs.com/package/slugifyAlternative would be to use https://www.npmjs.com/package/transliteration slugify method:
Have you tried any other work arounds?
Yesh, making manual slug generator that uses https://www.npmjs.com/package/transliteration
Are you willing to work on it with little guidance?
Yesh
The text was updated successfully, but these errors were encountered: