Jsoneditor: Keys are translated before language is set

Created on 17 Apr 2020  路  3Comments  路  Source: josdejong/jsoneditor

I added a custom german translation in accordance with the docs.
Unfortunately for some keys the language set in the language property is not respected. The english translations are still beeing displayed.
The problem is this line: src/js/Node.js#L4604
The keys are translated before the language from the options is set.
Could you please fix this?

EDIT: not sure if there are even more keys that aren't translated correctly 馃

bug

All 3 comments

Ouch, that's a good one. Thanks for reporting Peter. I've gone through all translations to check whether it wasn't loaded statically like the titles of node types. Fixed via 894af51.

This has been fixed now in v8.6.5

thank you very much
great work you do here!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

champ51 picture champ51  路  6Comments

shinyamade picture shinyamade  路  5Comments

MarkHerhold picture MarkHerhold  路  3Comments

azakordonets picture azakordonets  路  6Comments

maiscourt picture maiscourt  路  5Comments