On 3 April 2012 16:44, Siebrand Mazeland <s.mazeland(a)xs4all.nl> wrote:
It woud be pretty cool if you could add it as a
feature to the translate extension. It's pretty modular, and what it would require is
an "on the fly" message group creation, as well as an integration into the image
pages, I presume similar to the page translation feature.
Add Niklas on Cc in case he can provide some input.
It's relative easy to register new message group dynamically to
Translate extension:
* Use TranslatePostInitGroups hook to register the group
* Subclass one of the message group classes
* Either make sure MessageGroups::clearCache is called or correct
dependencies for the cache are added with the above hook.
* Probably also need to call statistic purging hooks at places.
Talk to me if you want to have more details how to do the above.
-Niklas
--
Niklas Laxström