Blocksy Multilingual Tutorial: How to Translate Content Strings in a Website

under construction WordPress When translating a multilingual website, in addition to translating articles and page body text, you need to pay attention to translating the many scattered text elements in the website, such as button labels, navigation menus, search bar prompts, and so on. These small pieces of text are calledContent Stringsin Blocksy It is especially common in themes.

This article will combine WPML The plugin's usage teaches you how to recognize and translate these content strings to create complete, professional multilingual websites.

Image [1]-Blocksy Multilingual Tutorial: A Comprehensive Guide to Translating Content Strings with WPML

What is a content string?

elementstring (computer science)are short texts distributed throughout the site and usually include:

  • Title and Description in Customizer Settings
  • Label on the button, e.g. "Search" or "Account".
  • Placeholder tips in forms
  • Explanatory text in header, footer or sidebar

They are different from WordPress The software interface itself has language packs that must be translated manually.

Steps for translating content strings using WPML

1. Recognizing what has not been translated

Switch to another language in the frontend of the website and check if the areas such as menus, buttons, search boxes, etc. are still displaying content in English or the default language.

Image [2]-Blocksy Multilingual Tutorial: A Comprehensive Guide to Translating Content Strings with WPML

Example:

  • The search button still shows up as "Search"
  • The top account menu is displayed as "Account"

These are content strings and need to be translated by the plugin.

2. Go to the "String translation" settings screen.

exist WordPress Backstage Click:

Image [3]-Blocksy Multilingual Tutorial: A Comprehensive Guide to Translating Content Strings with WPML

WPML > String Translation

On that page, you will see all the content strings recognized by the plugin scan.

Image [4]-Blocksy Multilingual Tutorial: A Comprehensive Guide to Translating Content Strings with WPML

3. Search and translate the corresponding string

Enter the text you want to translate in the search box, for example "Search";

Find the corresponding item and click on the right side of the Plus sign (+) icon, enter the translation of the target language in the pop-up box (e.g. "Search" in Chinese), and then close it to save.

Image [5]-Blocksy Multilingual Tutorial: A Comprehensive Guide to Translating Content Strings with WPML

Complete the translation of the rest of the content in the same way.

Frequently Asked Questions and Solutions

What if the content string does not appear in the list?

Some strings are not automatically detected, especially content from plugins or certain custom modules. This can be done by adding the WPML Execute once in the setup String scanning for themes and plugins, allowing the plugin to re-recognize all possible text fields.

Image [6]-Blocksy Multilingual Tutorial: A Comprehensive Guide to Translating Content Strings with WPML

Validation of completed translations

Once you have completed the translation, please return to the front of the site:

  • Switch Language
  • Checks that previously untranslated strings have been displayed correctly
  • Confirm that menus, buttons, and explanatory text are consistently rendered in the target language
Image [7]-Blocksy Multilingual Tutorial: A Comprehensive Guide to Translating Content Strings with WPML

Which plugins are applicable?

While this paper uses WPML as an example, thePolylang,TranslatePress Mainstream translation plug-ins such as also provides string translation function, the operation is similar. You can understand the specific entrance and details according to the plugin documentation.

summarize

Translation of content strings is essential for building professional multilingual websites. With the help of plugins such as WPML with Blocksy Themes work together to not only translate page content, but also provide comprehensive coverage of interface text, allowing the site to maintain consistency and integrity across languages.

If you're using the Blocksy theme and building a multilingual website, you can get started now and perfect every detail.

Recent Updates


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
This article was written by: thieves will be rats and mice courage
THE END
If you like it, support it.
kudos1254 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments