plotly / plotly/angular-plotly.js

Angular Plotly localization

Open
#184 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
242
Forks
81
Avg merge
8h 48m
Merged PRs (30d)
18

Description

Hello all,
I am pretty new to Angular, but following the great documentation I managed to have angular Plotly app and running in no time. Everything worked like a charm until I tried to localize Plotly in Italian.

I installed angular-plotly exactly in the way suggested by the documentation:

npm install angular-plotly.js plotly.js-dist-min --save
npm install @types/plotly.js-dist-min --save-dev

Which results in the folders shown in the screenshots attached below, none of which has anything regarding localization.

Screenshot 2022-01-01 at 10 08 59 Screenshot 2022-01-01 at 10 09 20 Screenshot 2022-01-01 at 10 16 33

What am I supposed to do in order to localize plotly? I found some other threads but none of the info there were helpful. I have no folder "lib/locales" and any import suggested obviously fails.

Thanks a lot and have a great new year!
.

Contributor guide

No contributing guide indexed for this repository

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 by reviewing the angular-plotly.js documentation and the installed plotly.js-dist-min package layout, especially the absent lib/locales path and the imports mentioned in the report. Determine the supported entry point for Italian localization and document a working setup using the listed npm packages.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend, localization
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.