How to translate WordPress texts, themes and plugins without programming or installing heavy plugins • WordPress Help
When you have a WordPress website and find out that there is texts that are not translated into your language, from WordPress itself, from a plugin or from the themethe solution is usually one of these 3:
- Ask the author to translate the text into your language
- Translate text programmatically
- Install a plugin like Crazy Translate Is WPML translate the text
Now, these methods each have their respective problems…
- The author is not always in the business of offering translations.
- You don’t have programming knowledge or you don’t dare to touch the code
- Translation plugins consume a lot of resources because they add much more than manual translation of texts
The easiest solution to these issues is a plugin I recently discovered on a client’s website that we maintain, and it addresses the need for translate texts into your language in a simple and light way.
The plugin is called Gettext override translations and it offers a simple interface in which to replace the original WordPress texts, themes and plugins installed on your website by the texts you want to display.
For example, you have just activated a new subject and you see that things are still to be translated…
Well, it’s as simple as browsing the plugin page in Plugins → Gettext replaces translations and start adding your text translations/substitutions.
It is important that you check the box “Protect parameter?for 2 reasons:
- Be able to revise translations later
- Translations are saved consistently
When you add your translations/substitutions, they will already appear on your website modified by your text.
Now well, the plugin is not able to translate everythingso will not translate/replace texts containing dynamic values. For example, in the screenshot I used, the theme displays 2 types of text:
- Read in full – Normal text, which does not depend on any dynamic value.
- views / comments – Dynamic text, which can change depending on the quantity (of views Is comments)
It is because of in the code of themes and plugins these texts are preceded by dynamic characters
%dwhich will be replaced by an amount (views, comments, etc.) and this plugin will not translate strings with these charactersbecause one mistake could completely ruin the theme or plugin.
Thus, if the plugin detects that there is such a string in the text to be translated, for example “%d views” it will not translate views by your text, it will not touch that text/programming string.
Of course, the rest of the text strings that don’t have these dynamic characters all translate without issue, and it’s a simple and lightweight solution to a problem you’ll encounter many times when activating plugins and themes.
To replace/translate complex text strings, even dynamic onesthen you should already resort to plugins like WPML, Loco Translate or one of these guides:
(a voice, medium: 5) Rate this article to help improve the quality of the blog
YOU MAY ALSO BE INTERESTED…
Did you like this article? You can’t imagine what you’re missing on Youtube!
I am sure that every day you come across thousands of websites, social media posts or email corrections filled with conventional and boring descriptions.
Texts that say it all, but do not convey any emotion, like the maninstruction manual for a washing machine.
Sometimes they are too direct or technical, which is probably why most of us prefer to call home when we have to deal with a recipe or a delicate garment.
Because it is not the same to read:
- “Use only ⅓ of the capacity of the work and program a short cycle at low temperature” that
- “Wash the sweaters that you give away for Christmas with the pink detergent from the third program, you will see how fluffy and soft they are”.
Well, that’s the theory, but how do we get to the practice?
How to apply the techniques narration effectively in your texts
Calm down, there are very specific writing techniques to apply the narration in any of your texts.
Let’s look at three of them:
• Add questions to your story to generate a reaction. This way, your reader will hear that you are speaking directly to them.
• Use similes to create mental images and that your readers can visualize exactly what you are telling them.
• Replace “I” with “you”, because this is the most persuasive word there is.
He has known you little by little, hasn’t he?
It’s your turn, open to apply storytelling in your business.
9 simple techniques that will help you write good stories
If you want to continue discovering techniques of narration that help you connect with your customers in a pleasant and effective way, this video interests you:
I leave you here the index, so that you go straight to the point and you can apply these techniques of narration in your business:
As you can see, in my last video you will find examples of the techniques of narration that he already mentioned and you will also discover other more effective ones.
And, if you want to dig even deeper, here are a variety of tips for writing stories that sell.
Really: You can tell stories in all the formats you want.
I hope that these tips will help you find the way to do it and, if you still have any questions, leave them in the comments. I will be delighted to read it and discuss it with you.