Translation Basics
Last updated
Last updated
The Motors Theme and bundled plugins include many units, elements, and widgets with dynamic content. The entire website's content—such as pages and posts (listings and their contents)- comprises these elements and widgets.
If you want to translate your website using the Motors plugin, ensure you have already added the content in the desired language to your pages, posts, and other areas.
So there are two types of strings when it comes to translating WordPress website:
Dynamic Strings - strings that have been entered by the user or can be modified by the user within the plugin or theme settings (no need for other plugins). For example, the name, description, and features of the listings are dynamic. You can change them directly to your language in the listing or the plugin settings without any third-party plugins.
Static Strings - these are texts that are hard-coded in your WordPress themes or plugins. They remain the same unless someone manually changes them in the code. For example, you cannot edit texts in your plugin settings, menus in the listing page, some headings in the listing page, or any texts inside buttons. These texts don’t change unless the developer updates the code. We need a third-party plugin to translate them.
Technically, translating static strings in WordPress is replacing one word with another, regardless of the language. Here comes Loco Translate to help.