feat(ru): complete Russian translations to match English version#1537
Open
Dazukio wants to merge 3 commits intogo-playground:masterfrom
Open
feat(ru): complete Russian translations to match English version#1537Dazukio wants to merge 3 commits intogo-playground:masterfrom
Dazukio wants to merge 3 commits intogo-playground:masterfrom
Conversation
zemzale
requested changes
Mar 4, 2026
Member
zemzale
left a comment
There was a problem hiding this comment.
My Russian is not good at all, but I think the plurals are not handled correctly.
Other than that just a few small things from my side.
translations/ru/ru.go
Outdated
| t, err = ut.T("min-items", fe.Field(), c) | ||
|
|
||
| default: | ||
| // Обработка для time.Duration |
Member
There was a problem hiding this comment.
Let's leave comments in English.
translations/ru/ru.go
Outdated
|
|
||
| return | ||
| } | ||
| log.Printf("DEBUG - gt tag: Field=%s, Kind=%v, Type=%v, Param=%q", |
translations/ru/ru.go
Outdated
| c, err = ut.C("gte-string-character", f64, digits, ut.FmtNumber(f64, digits)) | ||
| if err != nil { | ||
| goto END | ||
| var word string |
Member
There was a problem hiding this comment.
Doesn't Russian have special cases for any number ending with 2,3,4?
e.g. If I use gte=23 should use "символа" instead of "символов"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request brings the Russian translations to full parity with the English version by adding missing validation tags and fixing pluralization rules.
Translation additions:
alphaspaceandalphanumspacevalidation tagsrequired_if,required_unless,required_with,required_with_all,required_without,required_without_allexcluded_if,excluded_unless,excluded_with,excluded_with_all,excluded_without,excluded_without_allurn_rfc2141,fqdn,datetime,isdefaultImprovements:
time.Durationsupport forminandmaxvalidatorsTesting:
TestTranslationsto include all new validation tagsMake sure that you've checked the boxes below before you submit PR:
@go-playground/validator-maintainers