René's URL Explorer Experiment


Title: enables loading locales before Plotly by antoinerg · Pull Request #4453 · plotly/plotly.js · GitHub

Open Graph Title: enables loading locales before Plotly by antoinerg · Pull Request #4453 · plotly/plotly.js

X Title: enables loading locales before Plotly by antoinerg · Pull Request #4453 · plotly/plotly.js

Description: Open-source JavaScript charting library behind Plotly and Dash - enables loading locales before Plotly by antoinerg · Pull Request #4453 · plotly/plotly.js

Open Graph Description: This PR enables loading locales before plotly.js is on the page and partially fixes #4146. In the following Codepens, we expect months to be in French (it should be Mai instead of May): Before After

X Description: This PR enables loading locales before plotly.js is on the page and partially fixes #4146. In the following Codepens, we expect months to be in French (it should be Mai instead of May): Before After

Opengraph URL: https://github.com/plotly/plotly.js/pull/4453

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:07c1383a-4148-2e7b-a1d0-bec6b7c08a65
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC2AE:2CBC5E:4582D04:620D68B:6A56CE4B
html-safe-nonce81b8ae6ae1f73c3087228403a13939a96fda68d36d4c0e7db09931098e20ba74
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkFFOjJDQkM1RTo0NTgyRDA0OjYyMEQ2OEI6NkE1NkNFNEIiLCJ2aXNpdG9yX2lkIjoiNjM1NDAxMjkyMjAwNDgxOTUzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdcea6bdd2900338c51dc5116628da636ff0aa81f6eb1910e2b0417d0c31c1cb4
hovercard-subject-tagpull_request:358221603
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/plotly/plotly.js/4453/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/60c2836437787e23cc11e05a8d54019d81c871c81a32404c2ca8a775cd945f53/plotly/plotly.js/pull/4453
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/60c2836437787e23cc11e05a8d54019d81c871c81a32404c2ca8a775cd945f53/plotly/plotly.js/pull/4453
og:image:altThis PR enables loading locales before plotly.js is on the page and partially fixes #4146. In the following Codepens, we expect months to be in French (it should be Mai instead of May): Before After
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameantoinerg
hostnamegithub.com
expected-hostnamegithub.com
Nonedf99b7164e1d961b639cf5d3cbd6b5ba673edc67bd7e47cdc4746b96099e11ae
turbo-cache-controlno-cache
go-importgithub.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id45646037
octolytics-dimension-repository_nwoplotly/plotly.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45646037
octolytics-dimension-repository_network_root_nwoplotly/plotly.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3146ab55fc8763ab0e1d2a875e600b3a545bc751
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/plotly/plotly.js/pull/4453#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F4453
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F4453
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/pull/4453
Reloadhttps://github.com/plotly/plotly.js/pull/4453
Reloadhttps://github.com/plotly/plotly.js/pull/4453
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
plotly https://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
Notifications https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Fork 2k https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Star 18.3k https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Code https://github.com/plotly/plotly.js
Issues 772 https://github.com/plotly/plotly.js/issues
Pull requests 58 https://github.com/plotly/plotly.js/pulls
Actions https://github.com/plotly/plotly.js/actions
Security and quality 0 https://github.com/plotly/plotly.js/security
Insights https://github.com/plotly/plotly.js/pulse
Code https://github.com/plotly/plotly.js
Issues https://github.com/plotly/plotly.js/issues
Pull requests https://github.com/plotly/plotly.js/pulls
Actions https://github.com/plotly/plotly.js/actions
Security and quality https://github.com/plotly/plotly.js/security
Insights https://github.com/plotly/plotly.js/pulse
antoinerghttps://github.com/antoinerg
masterhttps://github.com/plotly/plotly.js/tree/master
script-orderhttps://github.com/plotly/plotly.js/tree/script-order
Conversationhttps://github.com/plotly/plotly.js/pull/4453
Commits5 (5)https://github.com/plotly/plotly.js/pull/4453/commits
Checkshttps://github.com/plotly/plotly.js/pull/4453/checks
Files changedhttps://github.com/plotly/plotly.js/pull/4453/files
enables loading locales before Plotlyhttps://github.com/plotly/plotly.js/pull/4453#top
antoinerghttps://github.com/antoinerg
masterhttps://github.com/plotly/plotly.js/tree/master
script-orderhttps://github.com/plotly/plotly.js/tree/script-order
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
Dec 30, 2019https://github.com/plotly/plotly.js/pull/4453#issue-544018003
#4146https://github.com/plotly/plotly.js/issues/4146
Beforehttps://codepen.io/antoinerg/pen/vYEeNrg
Afterhttps://codepen.io/antoinerg/pen/zYxEqeJ
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/antoinerg
enable loading locales before Plotlyhttps://github.com/plotly/plotly.js/pull/4453/commits/6940aac485a350810c75cec9512ac6e7e9a1a147
6940aachttps://github.com/plotly/plotly.js/pull/4453/commits/6940aac485a350810c75cec9512ac6e7e9a1a147
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
status: reviewable https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22status%3A%20reviewable%22
feature https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Afeature
Dec 30, 2019https://github.com/plotly/plotly.js/pull/4453#event-2914727993
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Dec 30, 2019 https://github.com/plotly/plotly.js/pull/4453#pullrequestreview-337258035
View reviewed changes https://github.com/plotly/plotly.js/pull/4453/files/6940aac485a350810c75cec9512ac6e7e9a1a147
src/core.jshttps://github.com/plotly/plotly.js/pull/4453/files/6940aac485a350810c75cec9512ac6e7e9a1a147#diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3
etpinardhttps://github.com/etpinard
Dec 30, 2019https://github.com/plotly/plotly.js/pull/4453#discussion_r362112735
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
antoinerghttps://github.com/antoinerg
Dec 30, 2019https://github.com/plotly/plotly.js/pull/4453#discussion_r362120275
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
f169380https://github.com/plotly/plotly.js/commit/f169380281377e3af40bb0772112d8ad9084f092
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Dec 30, 2019https://github.com/plotly/plotly.js/pull/4453#issuecomment-569816457
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Dec 30, 2019 https://github.com/plotly/plotly.js/pull/4453#pullrequestreview-337258459
View reviewed changes https://github.com/plotly/plotly.js/pull/4453/files/6940aac485a350810c75cec9512ac6e7e9a1a147
src/core.jshttps://github.com/plotly/plotly.js/pull/4453/files/6940aac485a350810c75cec9512ac6e7e9a1a147#diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3
etpinardhttps://github.com/etpinard
Dec 30, 2019https://github.com/plotly/plotly.js/pull/4453#discussion_r362113088
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
antoinerghttps://github.com/antoinerg
Dec 30, 2019https://github.com/plotly/plotly.js/pull/4453#discussion_r362120253
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
f169380https://github.com/plotly/plotly.js/commit/f169380281377e3af40bb0772112d8ad9084f092
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
archmojhttps://github.com/archmoj
Dec 31, 2019https://github.com/plotly/plotly.js/pull/4453#discussion_r362219424
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
antoinerghttps://github.com/antoinerg
Jan 2, 2020https://github.com/plotly/plotly.js/pull/4453#discussion_r362538927
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@etpinardhttps://github.com/etpinard
#4453 (comment)https://github.com/plotly/plotly.js/pull/4453#issuecomment-569838778
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
archmojhttps://github.com/archmoj
Jan 2, 2020https://github.com/plotly/plotly.js/pull/4453#discussion_r362541544
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
sessionStoragehttps://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/antoinerg
delete window.PlotlyLocales after locales are registeredhttps://github.com/plotly/plotly.js/pull/4453/commits/f169380281377e3af40bb0772112d8ad9084f092
f169380https://github.com/plotly/plotly.js/pull/4453/commits/f169380281377e3af40bb0772112d8ad9084f092
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
Dec 31, 2019https://github.com/plotly/plotly.js/pull/4453#issuecomment-569838778
@etpinardhttps://github.com/etpinard
herehttps://github.com/plotly/plotly.js/blob/0c4cebbfaf1e0fba44855adc99dd890715d22982/tasks/stats.js#L68-L78
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
Dec 31, 2019 https://github.com/plotly/plotly.js/pull/4453#ref-issue-483479197
[BUG] Cannot change locale with external CDN source plotly/dash#880 https://github.com/plotly/dash/issues/880
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Jan 2, 2020https://github.com/plotly/plotly.js/pull/4453#issuecomment-570309388
herehttps://github.com/plotly/plotly.js/blob/0c4cebbfaf1e0fba44855adc99dd890715d22982/tasks/stats.js#L68-L78
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/antoinerg
locales: stash under window.PlotlyConfig.locales instead of window.Pl…https://github.com/plotly/plotly.js/pull/4453/commits/b4b20a7e562a8c0d03aad10a12fe535143e28dfa
b4b20a7https://github.com/plotly/plotly.js/pull/4453/commits/b4b20a7e562a8c0d03aad10a12fe535143e28dfa
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
Jan 2, 2020https://github.com/plotly/plotly.js/pull/4453#issuecomment-570320081
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/antoinerg
Revert "locales: stash under window.PlotlyConfig.locales instead of w…https://github.com/plotly/plotly.js/pull/4453/commits/c19fbf4c8d5e9c74dc7a67b0993b14d11cb4a0a4
c19fbf4https://github.com/plotly/plotly.js/pull/4453/commits/c19fbf4c8d5e9c74dc7a67b0993b14d11cb4a0a4
b4b20a7https://github.com/plotly/plotly.js/commit/b4b20a7e562a8c0d03aad10a12fe535143e28dfa
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
Jan 2, 2020https://github.com/plotly/plotly.js/pull/4453#issuecomment-570321600
@alexcjohnsonhttps://github.com/alexcjohnson
b4b20a7https://github.com/plotly/plotly.js/commit/b4b20a7e562a8c0d03aad10a12fe535143e28dfa
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
Jan 2, 2020https://github.com/plotly/plotly.js/pull/4453#issuecomment-570324932
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Jan 2, 2020https://github.com/plotly/plotly.js/pull/4453#issuecomment-570325847
@antoinerghttps://github.com/antoinerg
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/antoinerg
Merge branch 'master' into script-orderhttps://github.com/plotly/plotly.js/pull/4453/commits/00aadd71119ad3729eb111becbe0ba42a13bf49d
00aadd7https://github.com/plotly/plotly.js/pull/4453/commits/00aadd71119ad3729eb111becbe0ba42a13bf49d
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Jan 2, 2020https://github.com/plotly/plotly.js/pull/4453#issuecomment-570351952
@antoinerghttps://github.com/antoinerg
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
4d88717https://github.com/plotly/plotly.js/commit/4d887176311cadc624a8586714c0068c62bc558f
Jan 2, 2020https://github.com/plotly/plotly.js/pull/4453#event-2918808728
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
January 2, 2020 21:14https://github.com/plotly/plotly.js/pull/4453#event-2918808873
https://github.com/jdamiba
jdamibahttps://github.com/jdamiba
Jan 9, 2020 https://github.com/plotly/plotly.js/pull/4453#ref-issue-547597428
1.52 Dash QA #4476 https://github.com/plotly/plotly.js/issues/4476
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
Feb 4, 2020 https://github.com/plotly/plotly.js/pull/4453#ref-pullrequest-559463188
[Snyk] Upgrade plotly.js from 1.45.3 to 1.52.0 beauremus/ftp-viewer#1 https://github.com/beauremus/ftp-viewer/pull/1
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
Feb 22, 2020 https://github.com/plotly/plotly.js/pull/4453#ref-pullrequest-569396455
[Snyk] Upgrade plotly.js from 1.35.2 to 1.52.1 raindigi/eShopOnContainersAI#1 https://github.com/raindigi/eShopOnContainersAI/pull/1
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
Mar 18, 2020 https://github.com/plotly/plotly.js/pull/4453#ref-pullrequest-583433450
[Snyk] Upgrade plotly.js from 1.52.0 to 1.52.2 beauremus/ftp-viewer#19 https://github.com/beauremus/ftp-viewer/pull/19
https://github.com/snyk-bot
snyk-bothttps://github.com/snyk-bot
Apr 17, 2020 https://github.com/plotly/plotly.js/pull/4453#ref-pullrequest-601631224
[Snyk] Upgrade plotly.js from 1.41.3 to 1.52.3 dunzoit/redash#4 https://github.com/dunzoit/redash/pull/4
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F4453
https://github.com/etpinard
etpinard https://github.com/etpinard
https://github.com/plotly/plotly.js/pull/4453/files/6940aac485a350810c75cec9512ac6e7e9a1a147
https://github.com/archmoj
archmoj https://github.com/archmoj
https://github.com/plotly/plotly.js/pull/4453/files/f169380281377e3af40bb0772112d8ad9084f092
feature https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Afeature
Order-independent script tags (MathJax & locales) https://github.com/plotly/plotly.js/issues/4146
Please reload this pagehttps://github.com/plotly/plotly.js/pull/4453
https://github.com/antoinerg
https://github.com/etpinard
https://github.com/alexcjohnson
https://github.com/archmoj
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.