plotly / plotly/angular-plotly.js

Angular Plotly localization

未关闭
#184 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
242
派生
81
平均合并
8 小时 48 分钟
30 天内合并 PR
18

描述

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!
.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先查看 angular-plotly.js 的文档以及已安装的 plotly.js-dist-min 软件包布局,尤其是缺失的 lib/locales 路径和报告中提到的 imports。确定意大利语本地化受支持的入口点,并使用列出的 npm 软件包记录一个可正常工作的设置。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend, localization
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。