josdejong/svelte-jsoneditor

i18n options missing

Open

#472 opened on Jul 29, 2024

 (3 comments) (0 reactions) (0 assignees)TypeScript (147 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,263 stars)
PR merge metrics
 (Avg merge 9h 26m) (5 merged PRs in 30d)

Description

Currently the svelte-jsoneditor is missing options for internationalization.

I am thinking of two ways, how this can be archived:

  • The package ships translations and the developer can set them via a translation prop, eg translation: 'de-De'
  • The package don't ship translations, but text can be overwritten eg: { texts: {searchFindText: 'Finden'}}

Contributor guide