I'm only 2 weeks old to Magento but I believe I'm getting my head around it well. I have a task to enable language translations on the store front, which works well using inline translation but that only works for elements that Magento has created upon page generation.
This gets tricky for me because once the page is generated, an AJAX call is made which returns HTML and inserts that in to the page. The inline translation doesn't allow me to translate that from the store front, understandably.
My idea at the moment is to hack the inline translator code to allow me to edit injected HTML but I'm struggling to find the code in Magento that creates the red dotted line around elements. Could somebody give me a pointer to where this is please.
Alternatively, I'm open for suggestions for doing this.
We have a custom product importer that some ex-developer has created. This works by reading an XML file that a client supplies us and some voodoo happens and the products appear in the store. One idea we have here is to put the translation data in to that importer.
I should add that the injected HTML is stored in files on the file system.