Originally reported by: Marcel Bollmann (Bitbucket: mbollmann, GitHub: mbollmann)
HTML elements that are created dynamically from JavaScript are not localized immediately after switching languages, since they have already been created and are missing a "data-trans-id" attribute.
This affects for example:
Dropdown menu in editor table
Some dialog windows (e.g. search dialog)
Two possible solutions to this problem:
Add a "data-trans-id" attribute when creating HTML elements directly from JavaScript; this should work for the first case (dropdown menu in editor table).
Recreate the affected dialogs when switching languages (e.g., we could probably just re-instantiate cora.editor.tokenSearcher to update the search dialog)
Originally reported by: Marcel Bollmann (Bitbucket: mbollmann, GitHub: mbollmann)
HTML elements that are created dynamically from JavaScript are not localized immediately after switching languages, since they have already been created and are missing a "data-trans-id" attribute.
This affects for example:
Two possible solutions to this problem: