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

 
Seo On page

Hướng dẫn Seo On page

Nếu ai đã biết qua về SEO thì bạn có thể hiểu SEO chia làm 2 phần đó là SEO ON PAGE và SEO-OFFPAGE Trong đó SEO ON PAGE là tối ưu hóa các yếu tố trên trang

Hướng dẫn xóa Content Types và Fields trong Drupal

Hướng dẫn xóa Content Types và Fields trong Drupal

The short answer to this question is, the nodes remain in the database. You can see the nodes listed in the Find Content admin page.

Tại sao và làm như thế nào với RESTful API trong Drupal năm 2015

Tại sao và làm như thế nào với RESTful API trong Drupal năm 2015

Ok, so what’s different about Headless Drupal in comparison to standard ‘vanilla’ Drupal? From the website visitor’s

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

 

Diet con trung