-
Notifications
You must be signed in to change notification settings - Fork 473
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
Add Vietnamese translation of VietNam holidays #2025
Add Vietnamese translation of VietNam holidays #2025
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #2025 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 189 189
Lines 11478 11482 +4
Branches 1796 1795 -1
=========================================
+ Hits 11478 11482 +4 ☔ View full report in Codecov by Sentry. |
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.
Great to see new localizations :) 🇻🇳
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.
It's overall good, I have some suggestions
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.
@vunhatchuong, great work! Look at some naming suggestions, please.
@vunhatchuong,
I would be thankful for your help! |
@KJhellico,
Regarding days off because of a holiday, the Tet holiday calculation is currently incorrect because it starts from the 29th in the Lunar calendar + another 4 days (minimum of 5 days). So in 2024, people were already off work on 2024-02-08 and not 2024-02-09. So it doesn't matter if Feb has 29 or 30 days, people will always leave work starting from the 29th. |
@vunhatchuong, thank you for your answer!
OK, I get it. And what are the extra days called (as Feb 8 and Feb 14 in 2024, Jan 20 and Jan 26 in 2023, ...)?
In Python holidays we call it "observed holiday" when a holiday falls on weekend and there is an additional non-working day. For example, in 2023, New Year's Day (Jan 1) fell on a Sunday, and Jan 2, Monday, was a "observed" holiday. So your current translation is correct. And I'm looking for the translation for name of such days as Apr 29, 2024.
Yes, I'm already working on it. I think I understand this scheme. |
They just call it "The X Day of Lunar New Year". "ngày" and "mùng" or "mồng" just mean "day" but "mùng" is used to refer to the Lunar day. So "ngày 1" means "day 1 on the Gregorian Calendar" and "mùng 1" means "day 1 on the Lunar Calendar".
I can't find any specific name for it, so the direct translation is "nghỉ thay thế" which sounds good enough. |
But how about Lunar New Year's Eve and the day before it? As Feb 9 and Feb 8 in 2024?
For such holidays, we also mention the day on from which the day off is moved (“Day off (substituted from 4/5/2024)” in English). Google Translate gave me "Ngày nghỉ (thay thế từ ngày 4/5/2024)". How correct is this? |
There are no special names for it. You can see here and other sources they call it "29 Tet" and 30 Tet". But my current translate for Lunar New Year's Eve is "Giao thừa" is correct.
I'd say "Ngày nghỉ (thay cho ngày 4/5/2024)" is more correct. |
Yes, I understood. But we need to name them somehow, with the possibility of translation into other languages...
Google translates it just as "New Year's Eve". What would the Vietnamese name be for the Dec 31 holiday ("New Year's Eve") that exists in some countries?
Thank you! 👍 |
Yeah this is why I'm not confident... but If it was up to me, I will name it "29 Tết" and "30 Tết", "29 of Lunar New Year" and "30 of Lunar New Year".
I guess to be precise it's "Lunar New Year's Eve", the reason I shortened it is that Dec 31 "New Year's Eve" is not important in Vietnam so it's not named. |
Maybe "Giao thừa Tết Nguyên Đán" would be better, In terms of generality? |
acfc24a
to
eca366f
Compare
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.
LGTM! 👍
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.
LGTM 👍🇻🇳
Remove `Authors:` as we use AUTHORS file now
Quality Gate passedIssues Measures |
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.
@vunhatchuong thank you for the great contribution and VN
holidays localization!
@func25 @KJhellico @PPsyrius thanks for reviewing this!
Co-authored-by: Arkadii Yakovets <ark@cho.red>
Proposed change
Add
vi
translation of Vietnam holidays.This translation has been checked by me who was born and currently lives in Viet Nam and crossed-checked with the state source.
Type of change
Checklist
make pre-commit
, it didn't generate any changesmake test
, all tests passed locally