Localization not included into plotly.min.js

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

Nobody has claimed this yet.

Assessment

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

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.

Description

feature P3

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.

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

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.

More from plotly/plotly.py

All issues in plotly/plotly.py

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.