Chuyển đến nội dung

Enable multi-language

Nội dung này chưa có sẵn trong ngôn ngữ của bạn.

When you finish installing the TanaFlows theme, the multilingual feature will not be enabled by default. This is because not everyone uses a multilingual website.

Button Language Switch
Language switch button after activation

To enable multilingual feature you must have 2 sites:

  1. Main language site - https://domain.com
  2. Second language site - https://domain.com/en/

Configure the two sites as follows:


Main site configuration

Go to Setting > Design > Site-wide and enter the language of the second site in the Other language field. In the case of the demo below the second site is en - https://domain.com/en/

Other language

Add en to field Other language


Second language site configuration

Go to Setting > Design > Site-wide , enter:

  1. Other language : the main language of your site, the demo is vi the same as the main language of ghostFam

  2. Secondary site : URL of your main site, demo is https://ghostfam.com without the / trailing accent

    Choose the second language

    Declare the main site information for the second site

  3. Save and check if the site has a language switch button

    (refresh browser Ctrl + Shift + R).