Comments (8)
Can you please also provide example word and its transliteration with this letter, so we can add it to tests so never ever again this issue will not appear again :)
from slugify.
It's is my name :)
Nguyễn Đăng Khoa
The slug should be nguyen-dang-khoa instead of nguyen-djang-khoa.
Đ character is populate in Vietnamese but it have some restriction.
Đ has to follow by vowels (a,u,e,i,o). But you should run these vowels through Slugify because in Vietnames, it can be in many forms: à á ẻ ị ỉ ,.......
from slugify.
creted pull requests, when it will be merged into code your name will be part of slugify :)
from slugify.
Yeah. Thanks you. That seem fine now. 👍
from slugify.
@mac2000 You commit would overwrite the current behaviour. I don't know of any (other) language that uses Đ
. But is D
the only valid transliteration? Or is there another valid transliteration for another language?
from slugify.
@mac2000 one problems here: Đ and Đ. They are 2 different ways to type that characte
from slugify.
Initial set of transliteration rules was copy pasted from Wikipedia and other sources, now language speaking people correcting wrong assumptions about what is correct way to transliterate symbols, so in my opinion there is nothing bad, and actually D
seems to be more correct rather than Dj
, and after all if there is other cases we can always create new issues and take decision what to do next
*feel free to cancel this PR if you are afraid of something
from slugify.
Thanks for the clarification.
from slugify.
Related Issues (20)
- Generated ruleset different from the json file HOT 1
- Symfony Bundle ignores ruleset HOT 1
- Problem with combining characters HOT 2
- There is any options to convert in Unicode symbols to description HOT 3
- User Deprecated HOT 5
- Issue with usage, example doesnt work after installing with composer HOT 3
- how to get slug without translation HOT 1
- Laravel 9 Support HOT 3
- Sign « changes on quot HOT 1
- Split DefaultRules into deparate files
- Add command-line interface to this package? HOT 1
- release for php 8.2 HOT 2
- Remove reserved characters like ­ and
- New release does not work on PHP 7.4 HOT 2
- The version 4.4.0 have been removed from Packagist? HOT 3
- Requirements Version 4.5 HOT 2
- version 4.5.0 is not compatible with PHP 7 although mentioned in packagist HOT 3
- Czech rules missing several characters
- Syntax error, unexpected '|', expecting variable {t_variable} HOT 3
- Issue with Php Composer (Slugify)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slugify.