-
Notifications
You must be signed in to change notification settings - Fork 386
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-17719 update v46 charts #3800
CLDR-17719 update v46 charts #3800
Conversation
re: Airbnb they are focusing on specific data types. Will it lead to any confusion if we include them? |
re: Airbnb they are focusing on specific data types. Will it lead to any
confusion if we include them?
I'll modify to leave them out until we confirm, since it isn't really full
'modern'.
…On Tue, Jun 11, 2024 at 7:00 PM Annemarie Apple ***@***.***> wrote:
re: Airbnb they are focusing on specific data types. Will it lead to any
confusion if we include them?
—
Reply to this email directly, view it on GitHub
<#3800 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJLEMEF642ORUEU4KIY3CTZG6TT7AVCNFSM6AAAAABJFMEN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRHE2TCNRUGE>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
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.
OK for now but i have a uRL comment
.addColumn( | ||
"Code", | ||
"class='source'", | ||
"<a href=\"http://www.unicode.org/cldr/data/common/main/{0}.xml\">{0}</a>", |
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.
"<a href=\"http://www.unicode.org/cldr/data/common/main/{0}.xml\">{0}</a>", | |
"<a href=\"https://www.unicode.org/cldr/data/common/main/{0}.xml\">{0}</a>", |
- http should be https
- should use a CLDRURLS constant anyway
- this URL looks wrong and doesn't seem to work. were you wanting something such as https://github.com/unicode-org/cldr/blob/main/common/main/fr.xml etc?
Ah, yes, this probably dates way back. Will fix.
…On Wed, Jun 12, 2024 at 12:10 PM Steven R. Loomis ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In tools/cldr-code/src/main/java/org/unicode/cldr/tool/ShowLanguages.java
<#3800 (comment)>:
> + SUPPLEMENTAL_INDEX_ANCHORS));
+ PrintWriter coverageGoalsTsv =
+ FileUtilities.openUTF8Writer(
+ CLDRPaths.CHART_DIRECTORY + "tsv/", "coverage_goals.tsv"); ) {
+
+ TablePrinter tablePrinter =
+ new TablePrinter()
+ // tablePrinter.setSortPriorities(0,4)
+ .addColumn(
+ "Language", "class='source'", null, "class='source'", false)
+ .setSortPriority(0)
+ .setBreakSpans(false)
+ .addColumn(
+ "Code",
+ "class='source'",
+ "<a href=\"http://www.unicode.org/cldr/data/common/main/{0}.xml\">{0}</a>",
⬇️ Suggested change
- "<a href=\"http://www.unicode.org/cldr/data/common/main/{0}.xml\">{0}</a>",
+ "<a href=\"https://www.unicode.org/cldr/data/common/main/{0}.xml\">{0}</a>",
1. http should be https
2. should use a CLDRURLS constant anyway
3. this URL looks wrong and doesn't seem to work. were you wanting
something such as
https://github.com/unicode-org/cldr/blob/main/common/main/fr.xml etc?
—
Reply to this email directly, view it on GitHub
<#3800 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJLEMBQY326ZVJTJ4L2RATZHCMLDAVCNFSM6AAAAABJFMEN4CVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCMJTHE2TEMJQGU>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
After making the fix you recommended, I searched for https://github.com/unicode-org/cldr and got the following hits in our source: ConsoleCheckCLDR.java CLDRModify.java GenerateTransformCharts.java ShowLanguages.java ShowLocaleCoverage.java
TestCheckCLDR.java NOTE
What do you think? |
FYI CLDR_REPO_ROOT and CLDR_REPO_BASE have the same definition currently |
this is probably the best way to do it. Maybe include a trailing slash ( |
Ok, will do
…On Wed, Jun 12, 2024 at 2:42 PM Steven R. Loomis ***@***.***> wrote:
@macchiati <https://github.com/macchiati>
CLDRURLS.CLDR_REPO_MAIN = CLDR_REPO_BASE + "/blob/main"
this is probably the best way to do it. Maybe include a trailing slash (
/blob/main/) so you can do CLDRURLS.CLDR_REPO_MAIN + "common/main/fr.xml"
—
Reply to this email directly, view it on GitHub
<#3800 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJLEMFBEXKZBJMBHOX3T53ZHC6E5AVCNFSM6AAAAABJFMEN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTHE2TCNBTGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This works now, after the change in constants that Steven noted. So it's ready to go. |
Could someone approve this? |
CLDR-17719
I found that the coverage_goals.html chart was omitting Meta. I put in a fix so that it would be driven by the Organization.getTCOrgs().
I also generate a .tsv that reformats the Locales.txt data. The reformatted data sorts TC locales first, then others. It does not overwrite Locales.txt, but rather creates the .tsv with the staging charts.
The format looks like:
ALLOW_MANY_COMMITS=true