-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
New lang: bg. Updated lang: ru. URL slug ability to group by lang. #892
Conversation
Not a perfect solution but in this case I found it the easiest one :) Group sets by lang if required cause some langs may have their own rules for the same symbols (like "Щ" in ru and bg - lines 81 and 116). After that run locale's set first (if exists) and then run default set (sets.default).
Thanks for submitting this @thewwwizard! I'll take a look at this in just a bit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So after looking at this a bit, I wonder if we could leave the strings.js
file as it is right now, and only merge in the 2 language file changes.
Then, let's do a separate PR since I want to try and find a more future-proof solution to this slugify()
method. You can certainly add this code you've written into that new PR, but I want to explore other ways we can approach it as well.
@austintoddj Ok. So I'll create a separate PR with only these 2 commits (lang file changes). And do I need to change anything in the current PR? |
No you should be good. Once that new PR is merged in with the language changes, the only change in this one will be the |
Group sets by lang is required cause some langs may have their own rules for the same symbols (like "Щ" in ru and bg - lines 81 and 116).
Not a perfect solution with slug but in this case I found it the easiest one :)
More info in the commit description..