How can AnQi CMS be configured and display multilingual content to expand the international market?

Expand your international market, allowing your content to reach global users is an important part of many companies' digital strategies.AnQiCMS (AnQiCMS) fully understands this need and therefore built-in powerful multilingual support and multi-site management capabilities from the outset to help users efficiently configure and display multilingual content.

Start the journey of internationalized content: the cornerstone of multilingual support

AnQi CMS is dedicated to providing small and medium-sized enterprises and content operation teams with an efficient and flexible content management platform. One of its core advantages in expanding into the international market is itsMultilingual SupportFunction. This means you can provide customized content for users of different languages, thus effectively reaching potential customers all over the world.

But multilingual is not just simple translation, it is a set of content organization and presentation strategies. Anqi CMS provides two key tools for this: one isMulti-site management, the other isBuilt-in language packages and translation tags, and forContent localizationflexible support.

Configure your multilingual website architecture

To configure and display multilingual content in Anqi CMS, you first need to understand its recommended architecture: create a separate site for each target language.This may sound a bit complicated, but actually, the multi-site management feature of Anqi CMS makes the process very smooth.

1. Independent site, clear boundaries:

Imagine that your brand wants to cover the English, French, and Chinese markets at the same time. Using AnQi CMS, you can easily create three independent sites on a single server, for example:

  • www.yourbrand.com(As the main station, it may be in English)
  • fr.yourbrand.com(French sub-site)
  • zh.yourbrand.com(Chinese sub-site)

Or, you can also choose a subdirectory form, such aswww.yourbrand.com/fr/andwww.yourbrand.com/zh/. This independent site architecture has many advantages:

  • Content management is clearer:Each site has an independent backend management interface, content model, categories, articles, products, and pages.This means you can tailor content strategies for each language market to avoid confusion caused by mixed content in different languages.
  • SEO optimization is more accurate:An independent site can be optimized for specific languages and regions, configure pseudo-static rules, submit to search engines, etc., thereby obtaining better rankings in different international search engines.
  • Performance and security:Although it is an independent site, Anqi CMS's high-performance architecture and modular design based on Go language ensure stable operation under high concurrency and provide a complete security mechanism.

In the Anqi CMS backend's 'Multi-site Management', you can easily 'add a new site'. When configuring a new site, specify a language site for each.independent database namefor exampleyourbrand_en_com/yourbrand_fr_comThis ensures complete isolation and mutual non-impact of content data in different languages.At the same time, you also need to bind the corresponding domain name or subdomain for each site, and configure the reverse proxy or pseudo-static rules according to the document instructions to ensure normal frontend access.

2. Default language package: Unified interface experience:

In addition to managing your business content, Anqi CMS also allows you to set up for each site:Default language package.This mainly affects the background management interface and some system-built prompts on the front-end (such as error messages, navigation text generated by the system, etc.).The AnQi CMS is built with Chinese and English language packs, you can choose the main language of the site according to your preference.It is worth noting that the language package settings here are only applicable to the built-in text information of the system and will not automatically translate your articles, product descriptions, and other specific business content.This business content needs to be created and maintained separately on the corresponding language site.

Creating localized content: Deeply engaging users

With the architecture and basic language settings of an independent site, the next step is to create content that truly attracts international users.

1. Localization of business content:

For articles, products, events, single pages, and other core business content, you need to create independently on each language siteIndependent creation.For example, if your English site has an article about "Latest Product Release

The 'Flexible Content Model' of AnQi CMS allows you to customize content fields according to the needs of different language markets, ensuring the richness and diversity of content presentation.When editing documents, categories, or pages, you can fully utilize the provided SEO tools (such as keywords, descriptions, custom URLs, etc.) to carry out localized SEO optimization for the content of each language version.

2. Translation of template static text:

Your website template will also include some fixed text such as 'Home', 'Contact Us', 'Product Categories', etc. This text can be managed through the Anqi CMS'sTranslation tag ({% tr %})Manage and display.

To achieve this, you need to create a folder under the template directory.localesCreate a folder for each language within it (such asen-us/fr/zh-cn),and place them in these foldersdefault.ymlFiles. TheseymlFiles will store your template static text translations in key-value pairs:

# locales/en-us/default.yml
"homePage": "Home"
"contactUs": "Contact Us"

# locales/fr/default.yml
"homePage": "Accueil"
"contactUs": "Nous Contacter"

Then, simply use in your template file,{% tr "homePage" %}Such a label, Anqi CMS will automatically display the corresponding translation text according to the language settings of the current site.This makes the maintenance of the template extremely simple, no need to create a separate template file for each language.

Optimize user experience and search engine visibility

The configuration of multilingual content is ultimately to enhance user experience and search engine visibility.

1. Easy language switcher:

It is essential to have a prominent language switcher to allow visitors to easily switch to their preferred language version. Anqi CMS providesTo get the list of multilingual site tags ({% languages %})You can use it to build an elegant language selection dropdown menu or button group.

For example, in the header or footer of a template, you can build it like this:

<div>
    <span>切换语言:</span>
    {%- languages websites %}
    {%- for item in websites %}
        <a href="{{item.Link}}">
            {%- if item.LanguageIcon %}<img src="{{item.LanguageIcon}}" alt="{{item.LanguageName}}" />{%- else %}{{item.LanguageEmoji}}{% endif %}
            {{item.LanguageName}}
        </a>
    {%- endfor %}
    {%- endLanguages %}
</div>

This code will loop through all the configured language sites and generate a link for each site, for users to click and jump.

2. International SEO Tool: Hreflang Tag:

For multilingual websites,hreflangTags are an important way to tell search engines that your content has different language versions.It can help search engines display the correct language version of pages to users of that language, avoid duplicate content issues, and optimize international search rankings.

Use{% languages %}tag, you can also easily generate these key tags on each page of the<head>regions.hreflangTags:

{%- languages websites %}
{%- for item in websites %}
<link rel="alternate" href="{{item.Link}}" hreflang="{{item.Language}}">
{%- endfor %}
{%- endLanguages %}

This will ensure that search engines can accurately understand the structure of your multilingual content, effectively enhancing international SEO.

Through these features, Anqi CMS not only simplifies the process of building multilingual websites, but also provides strong support in content management, user experience, and search engine optimization, helping your company to steadily advance in the international market.


Frequently Asked Questions (FAQ)

1. Does AnQi CMS provide an automatic translation feature to generate multilingual content?The Anqi CMS does not provide automatic translation functionality.It is a content management system dedicated to providing a framework and tools for managing multilingual content.