Your question was (10k users only):
Dynamically replacing text with image
I need a method of replacing text with images while keeping the text translatable.
"off topic" was indeed the wrong close reason here; the correct one would have been "not a real question".
On Stack Overflow, we expect questions to be specific, answerable technical issues. In its current form, your question is a mere code request, and a very poor one at that. You're not being clear what text should be replaced how, you are not mentioning any details and what you have tried. It is off-topic on all Stack Exchange sites.
To answer your question though - do you want to use custom fonts on your web site? There are better and more SEO friendly ways to do that nowadays than rendering images; see How to add some non-standard font to a website?