-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Translation tool] mn #2556
Comments
Hello, thanks for the report. 🙏 I checked and there are few other mistake with short units I think. Could you please check the MnMnTest.php file here: And verify that green lines are not worse than red lines. Thanks. |
Yeah, sure. All looks good except on 213th line neither of green and red lines are correct the more proper way would be '2 жил 3 сар 1 хоног 1 с/секундын өмнө' |
I struggle with this one, it will be a bit more tricky. I will first merge this to get improvement on the other lines then keep an other issue open for the multi-units string. |
Okay How can i help ? |
Hello, I will work today on a system to say "declension only applies to the last part of a sequence of units". (#2565) It sounds like in Mongolian, it would apply to all: ago/from_now/before/after. Can you confirm that? Also there is this comment in the translations file:
I just wonder if the subtilty between both is clear enough:
Can you check the declensions are all good for the 4 time conditions? |
Hello, first of all thank you for what you are doing.
Good job 👏👏👏 |
Hello, about the ago/before they are not the same, it's not just "before" it's "before an other event" this means it does not match your examples, it can be in the future (like in: before next Christmas) |
Technically yes, but it's still 'before' the next Christmas means it puts us before and that before can be present, past or even future and it gets complicated cuz it doesn't has specific time so i thought it can be same as ago in this repo cuz we can't display this blog posted before next Christmas or can we ? Anyway it's just my idea if you get the idea and you think it's right you can do whatever you want at last my goal was just to get the appropriate translations. |
I'm not trying to force, I lack the language knowledge, just trying to make sure it's clear why we have both. Basically we provide: Carbon::parse('...')->diffForHumans(); // will use "ago" if it's before now, "from_now" if it's after now
Carbon::parse('...')->diffForHumans($otherDate); // will use "before" if it's before $otherDate, "after" if it's after $otherDate We split the declension because in some languages, different declensions are needed. But if there is nothing specific in Mongolian, it's fine to keep as is. Thanks. 🙏 |
Yeah I can understand the differences in English but In Mongolian they can share the same translations. |
Additional fixes
1 week ago => 1 долоо хоногийн өмнө
2 week ago => 2 долоо хоногийн өмнө
3 week ago => 3 долоо хоногийн өмнө
like "хоногийн"(correct way) not "хоногн"(this is current and wrong way)
The text was updated successfully, but these errors were encountered: