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

 
Multi-headed trong Drupal

Multi-headed trong Drupal

One of the strengths of Drupal is that it's not just a tool for building a single website. It can be used equally well for managing multiple companion sites together.

Hướng dẫn cách đăng ký vân tay trên ứng dụng

Hướng dẫn cách đăng ký vân tay trên ứng dụng F@st Mobile Techcombank

Ứng dụng F@st Mobile là công cụ để các bạn chuyển tiền, nạp tiền vào điện thoại và các kế hoạch đầu tư, kế hoạch tiết kiệm, sử dụng dịch vụ bảo hiểm...

Thêm 1 block region vào theme trong Drupal 7

Thêm 1 block region vào theme trong Drupal 7

In this tutorial, I will walk through the steps for adding a region to Drupal's Bartik theme. There are a couple ways you can do this.

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

 

Diet con trung