ckan / ckan/ckanext-spatial

leaflet buttons are not translated

Open
#235 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
XSLT
Stars
136
Forks
207
PR merge metrics
No merged PRs in 30d

Description

for instance the Cancel and Apply buttons (https://github.com/ckan/ckanext-spatial/blob/master/ckanext/spatial/public/js/spatial_query.js#L22) but also 'Zoom in' / 'Zoom out' and 'Draw a rectangle' buttons
I tried using the translation method provided by CKAN (https://docs.ckan.org/en/2.8/contributing/string-i18n.html#internationalizing-strings-in-javascript-code) but with not success

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with ckanext/spatial/public/js/spatial_query.js around line 22 and the CKAN JavaScript internationalization guide linked in the issue. Check how the Cancel, Apply, Zoom in, Zoom out, and Draw a rectangle labels are defined, then verify that all listed button text is translated.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, 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.