When my marriage certificate had to be translated, it had to be a certified translation and also certified by Thai Ministry of Foreign Affairs, so do make sure you have all instructions from your specific immigration office. They differ.
One last thing, I would like to mention, after great advice from Tod. The mayor will know nothing at all about Thai Visas, and its better to rely on your own info about that side of things.