Skip to content

plotly-locale-nl-latest.js is not latest translations for nl locale #6399

Closed
@eirvandelden

Description

@eirvandelden

What I did:

  • include <script src="https://cdn.plot.ly/plotly-locale-nl-latest.js"></script> to get latest nl locale

What I expected:

  • The translations like in https://github.com/plotly/plotly.js/blob/master/lib/locales/nl.js with translations in the dictionary part and updates to dayMonth

What I got:

  • Only the days and months are translated. Actual content hosted now:
var locale={moduleType:"locale",name:"nl",dictionary:{},format:{days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],shortDays:["zon","maa","din","woe","don","vri","zat"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortMonths:["jan","feb","maa","apr","mei","jun","jul","aug","sep","okt","nov","dec"],date:"%d-%m-%Y"}};"undefined"==typeof Plotly?(window.PlotlyLocales=window.PlotlyLocales||[],window.PlotlyLocales.push(locale)):Plotly.register(locale);

I think what is hosted on https://cdn.plot.ly/plotly-locale-nl-latest.js is not the latest, but a version before my changes were merged and released in 2.14.0: #6261

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions