To make the Image Hotspot plugin’s content translatable with WPML, a custom code solution was implemented. The process involved two key WPML functions for handling string translation.

Lakshan Ranasinghe
(BSc./ MSc. in Analytical Chemistry)
Hi, I’m Lakshan Ranasinghe. I hold a Bachelor’s degree in Biological Science from the Faculty of Science, University of Colombo, and completed my Master’s in Analytical Chemistry from the same university.
My experience includes hands-on operation of various analytical instruments and laboratory equipment, complemented by three years of graphic design expertise.
Currently working as a software engineer, I bring a unique blend of scientific expertise and technical skills to the table.
3 Articles
If you’re struggling with displaying dynamic variation prices in Elementor’s Product Price widget, here’s a quick solution that doesn’t require any complex PHP modifications.
The standard addition method is often used in quantitative analytical chemistry. In this method, a standard is added directly to the aliquot of the sample.