plotly / plotly/plotly.R

Locale 'pt-br' and 'pt-pt' are not complete at a Sankey Plot

Open
#2,083 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

Hi,
As you see the Tooltips are translated ...

image

But the hoover info not. The translation for this strings are in the plotly-locale-pt-br.js file.
source:"origem",target:"destino"

image

Any idea where is the problem,
Thanks
Thomas

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 by inspecting plotly-locale-pt-br.js and reproducing the Sankey plot shown in the issue. Compare the translated tooltip text with the untranslated hover information and trace how the locale is applied to Sankey labels. Done means the Portuguese source and target strings appear in the Sankey hover information for both pt-br and pt-pt.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, r
Domain
data-visualization, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.