On my language-learning web site, Fluent Every Year, I have a feature that shows a translation inline by swapping out text when the mouse rolls over it. It’s very handy, and it occurred to me that I should make it a plugin, so other people can use it too!
Features:
- Add the “translate” class to a containing element, such as a blockquote or a ul tag. Then, any em tags with a title attribute will automatically swap their content for the title when you move the mouse over them.
Planned features:
- Allow any tag or classname to be specified as the containing element.
- Allow any tag or classname to be specified as the translate element.
Download
The current version can be downloaded at WordPress.org.
Changelog
- 0.1
- Initial version
Links in this post
