ramp4-pcar4 / story-ramp

Storytelling with interactive maps using RAMP
MIT License
3 stars 12 forks source link

Highcharts have no French context menu #418

Closed dan-bowerman closed 3 months ago

dan-bowerman commented 3 months ago

Highcharts context menus are only displaying in English, even in French: image

As per https://api.highcharts.com/highcharts/lang, we need to integrate translations universally. Here's the English and French text (this snippet is not lifted from Storylines, integrate it whatever way is appropriate)

Highcharts.setOptions({
    lang: {
        menu_items: [
            'View in full screen', 'Print chart', 'Download PNG', 'Download JPEG',
            'Download PDF', 'Download SVG', 'Download CSV', 'Download XLS'
        ]
    }
});

In French:

        menu_items: [
            'Plein Écran', 'Imprimer', 'Télécharger PNG', 'Télécharger JPEG',
            'Télécharger PDF', 'Télécharger SVG', 'Télécharger CSV', 'Télécharger XLS'
        ]`