Hướng dẫn tạo multilingual site với Panopoly

Hướng dẫn tạo multilingual site với Panopoly

Making a Panopoly install multilingual

  • Download and enable the prerequisite modules: Variable, Internationalisation, Multilingual content, Path translation, Variable translation
  • Then navigate to admin/config/regional/language and add a new language
  • Next, go to admin/config/regional/language/configure and check the URL detection method, save, and then Configure the method
  • Select the Path prefix option
  • Navigate to admin/config/search/path/patterns and scroll down to the pattern field for languages
  • For your default language only, place the language code in front of the pattern for your URLs. This enables panel pages to be located at their own distinct URLs when we enable internationalisation.

Hướng dẫn tạo multilingual site với Panopoly

  • Edit the Content Page content type, and enable multilingual content

  • After creating content in one language, the Translate tab will become available, which will enable creation of another page, editable with the Panels IPE, and with its own distinct URL
  • Finally, enjoy multilingual Panopoly!

Translating panes... not quite there, yet!

Another way to achieve this would be with multilingual panes, but currently there is no stable way to create them. However, there has been some development at https://drupal.org/project/mlpanels to further this goal and am sure in time the 'breakthrough' will come!

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Khanh Hoang

Khanh Hoang - Kenn

Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Tản mạn về iTáo và sự bất công

Tản mạn về iTáo và sự bất công

Nói gì thì nói, iTáo đã tạo ra một cuộc cách mạng về công nghệ. Cứ nói đến điện thoại thông minh là phải nghĩ đến iPhone còn máy tính bảng là nghĩ ngay đến iPad.

Giới thiệu 2 base Themes in Drupal 8 core

Giới thiệu 2 base Themes in Drupal 8 core

My skin crawls when I see HTML filled with divs tucked inside each other over and over again like a Russian nesting doll

Ví dụ sử dụng 2 function theme_table() và theme_fieldset() trong Drupal 7

Ví dụ sử dụng 2 function theme_table() và theme_fieldset() trong Drupal 7

In Drupal 7 API there is a chapter dedicated to site theming. All elements of a site, without exclusion, should go through the theming process.

Công ty diệt chuột T&C

 

Diet con trung