rwm
12 years agoAdvisor
REST API for text editor keys?
Is there a REST API that will fetch a given text key as defined in the Studio ext editor section?
Now that we are implementing new languages (the single-instance method), I would like to access text keys from a Javascript library to handle some translations, similar to how one uses the text.format() function in Freemarker.
I've looked through the REST API docs and community messages but don't find anything. Is there any kind of API to read text editor strings from Javascript?
Otherwise, I may have to implement my own translation mechanism and then somehow determine what language I am using for a given page.
Any help or ideas would be appreciated, thanks.