text
text copied to clipboard
Move loading of the translation language list from initial state to OCS API call
When looking at intitial state optimizations @nickvergessen suggested to move the list of languages that text provides to the frontend from the current intitial state value passing to using the OCS API endpoint and fetch it on demand.
On some AI translation provider there are just tons of mutations of languages added which adds up in size of the initial state which we only need once showing text or even the translation dialog.