You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to integrate a language tag into the context of each line. That is needed for audio text representation in screen readers. For example in exercises while learning languages in the school we have mixed up text in different languages.
My idea is to create additional to the UI langugage setting a language setting for the document language. The standard way of text processing create a tag for each line that marks it with the document language. On top of this I want to create a plugin that is able to change the language of the currently selected lines, as seen in the heading2 plugin.
Now I have a lot of problems to understand the current implementation. Please help me to understand how things work. My questions:
How it is possible to access the settings in the context of the browser side scripts / in plugins?
"settings.js" reads "settings.json". So this file is just valid in the context of the server, right? It contains the value [exports.padOptions.lang]. Is this the default value for the browser UI? I assume that each user may change the UI language without changing the lang value in the server. So, how this default value is transported to the client, and how the user selection is stored? In the DB for the current pad?
Please tell me how event handling is done generally in EP. I've seen that jquery is used for that purpose. Where is the event handling code for the settings popup?
For me jquery, enent handling in web pages and javascript itself is a absolutely new stuff. My experience is old C++ programming on a very low level. So please help me to understand the basics of EP to find a better way understanding EP internals.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I want to integrate a language tag into the context of each line. That is needed for audio text representation in screen readers. For example in exercises while learning languages in the school we have mixed up text in different languages.
My idea is to create additional to the UI langugage setting a language setting for the document language. The standard way of text processing create a tag for each line that marks it with the document language. On top of this I want to create a plugin that is able to change the language of the currently selected lines, as seen in the heading2 plugin.
Now I have a lot of problems to understand the current implementation. Please help me to understand how things work. My questions:
For me jquery, enent handling in web pages and javascript itself is a absolutely new stuff. My experience is old C++ programming on a very low level. So please help me to understand the basics of EP to find a better way understanding EP internals.
Best Regards,
Volker Bijewitz
Beta Was this translation helpful? Give feedback.
All reactions