-
Notifications
You must be signed in to change notification settings - Fork 399
CLDR-18253 Add en_JP #4634
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
CLDR-18253 Add en_JP #4634
Conversation
Not sure why this is causing an error in German? That seem unexpected. |
|
in short working as designed though very confusing |
The reason the eras aren't in the examples is due to CLDR-17851 which should have been a logKnownIssue |
passes when #4642 is applied. |
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
This one should pass once #4642 is approved so it can be merged. |
common/main/en_JP.xml
Outdated
</dateFormatLength> | ||
<dateFormatLength type="short"> | ||
<dateFormat> | ||
<pattern>y/M/d</pattern> |
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.
Apple's en_JP locale (which I can see from the open-source Darwin project) has "y/MM/dd" for this
common/main/en_JP.xml
Outdated
<dateFormatLength type="short"> | ||
<dateFormat> | ||
<pattern>y/M/d</pattern> | ||
<datetimeSkeleton>yyMd</datetimeSkeleton> |
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.
This should match the pattern, so if the pattern has one y, this should too.
common/main/en_JP.xml
Outdated
<timeFormats> | ||
<timeFormatLength type="full"> | ||
<timeFormat> | ||
<pattern>HH:mm:ss zzzz</pattern> |
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.
Apple's en_JP locale has a single H for these time patterns.
common/main/en_JP.xml
Outdated
<dateFormats> | ||
<dateFormatLength type="full"> | ||
<dateFormat> | ||
<pattern>EEEE, MMMM d, y G</pattern> |
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.
Apple's en_JP locale has "G y MMMM d, EEEE" here, and similar ordering for the long & medium formats.
common/main/en_JP.xml
Outdated
</dateFormatLength> | ||
<dateFormatLength type="short"> | ||
<dateFormat> | ||
<pattern>y/M/d GGGGG</pattern> |
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.
Apple's en_JP locale has "GGGGG y/MM/dd" here (consistent with the MM/dd for gregorian)
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.
looks good except for items Peter noted. I have no strong feelings either way, but we might as well not deviate from what Apple is doing.
I will update it based on Peter's feedback and then tag you all for re-review. |
common/main/en_JP.xml
Outdated
<greatestDifference id="y">y – y G</greatestDifference> | ||
</intervalFormatItem> | ||
<intervalFormatItem id="GyM"> | ||
<greatestDifference id="G">MM/y GGGGG – MM/y GGGGG</greatestDifference> |
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.
pattern should be GGGGG y/MM – GGGGG y/MM
common/main/en_JP.xml
Outdated
</intervalFormatItem> | ||
<intervalFormatItem id="GyM"> | ||
<greatestDifference id="G">MM/y GGGGG – MM/y GGGGG</greatestDifference> | ||
<greatestDifference id="M">MM/y – MM/y GGGGG</greatestDifference> |
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.
pattern for this and next should be GGGGG y/MM – y/MM
common/main/en_JP.xml
Outdated
<greatestDifference id="y">MM/y – MM/y GGGGG</greatestDifference> | ||
</intervalFormatItem> | ||
<intervalFormatItem id="GyMd"> | ||
<greatestDifference id="d">y/MM/dd – y/MM/dd GGGGG</greatestDifference> |
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.
pattern should have GGGGG first: GGGGG y/MM/dd – y/MM/dd
common/main/en_JP.xml
Outdated
</intervalFormatItem> | ||
<intervalFormatItem id="GyMd"> | ||
<greatestDifference id="d">y/MM/dd – y/MM/dd GGGGG</greatestDifference> | ||
<greatestDifference id="G">y/MM/dd GGGGG – y/MM/dd GGGGG</greatestDifference> |
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.
pattern should have GGGGG first: GGGGG y/MM/dd – GGGGG y/MM/dd
common/main/en_JP.xml
Outdated
<greatestDifference id="y">y/MM/dd – y/MM/dd GGGGG</greatestDifference> | ||
</intervalFormatItem> | ||
<intervalFormatItem id="GyMEd"> | ||
<greatestDifference id="d">E, y/MM/dd – E, y/MM/dd GGGGG</greatestDifference> |
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.
As above, for this and the rest of the numeric date formats below, ordering should be "GGGGG y/MM/dd E" or a subset thereof.
In general, the main issue I see is that across all of the calendars, the short/numeric date formats (for single-M skeletons) should consistently have the pattern "GGGGG y/MM/dd E" or the appropriate subset of that. Currently there is some variation in order. |
@pedberg-icu - Is it better to have the Japanese eras in en.xml and add an exception for them, or only have them in en_JP.xml? Root doesn't have the same errors, but root Japanese eras are very long since they always include the Gregorian years. |
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
Okay, so this is still just blocked by the example generator issue. Let me know if there are any other tweaks to the data, otherwise I would like to submit this after it is unblocked. |
I think it's been merged, so we need to re-kick-off the build. |
Just retriggered. |
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
@macchiati - How do I troubleshoot an unspecified English inheritance error, actually let me try something. |
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
CLDR-18253
ALLOW_MANY_COMMITS=true