plotly / plotly/plotly.py

Localization not included into plotly.min.js

Open
#4,721 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

Hello!

I use plotly to draw timelines, but dates are not localized, for example: "Aug 14 2024".

I see that names of months are localized in plotly.js (https://github.com/plotly/plotly.js/tree/master/lib/locales), but localizations are not included into the minified version of plotly.js in plotly.py.

Is it possible to include them?
Thanks in advance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the plotly.py packaging or build entry point for the minified plotly.js bundle and compare it with plotly.js/lib/locales. Check the relevant bundle or package tests; done means the distributed plotly.min.js includes the localization data needed for localized timeline dates.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
data-visualization, internationalization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.