This time, I am trying to build WordPress Plugin that is called Simple Translation with React and Go. The purpose is to make the plugin not depend too much on WordPress so it will not degrade the WordPress performance and don’t have any problem with SEO.
With how the plugin designed, using React, external API (Go) and “String Based Replacement” it can be applied into different CMS such as Shopify, Webflow, Craft CMS, etc without diving deep into the CMS codebase. The most important is, it is FAST!
Plugin flow are:
1. Plugin’s Admin that is built by React will consume API endpoint from Go.
2. Plugin’s Frontend (WordPress) will load the translation that is matched with URL and Translation Language.
3. Plugin’s Frontend (WordPress) will replace the matched text just before the page load so it will still be able to render meta tag respective to the current active language to preserve Search Engine Optimization.
Please take a look at video below for the plugin explanation.