Giới thiệu MULTILINGUAL WEB APPLICATIONS trong DRUPAL

Giới thiệu MULTILINGUAL WEB APPLICATIONS trong DRUPAL

MULTILINGUAL 

WEB APPLICATIONS 
ON  DRUPAL

 

Andy Truong — andy at go1.com.au

Twitter: thehongtt

Slide: drupal-i18n.talk.drupal.vc

LANGUAGE MANAGEMENT

  • /ADMIN/CONFIG/REGIONAL/ 
  • CORE MODULES:
    • LOCALE
    • CONTENT TRANSLATION

LANGUAGE DETECTION

  • Detect language on context request
  • /admin/config/regional/language/configure
  • Core negotiation providers:
    • URL
    • Session
    • User
    • Browser
    • Default

LANGUAGE SWITCHER BLOCK

  1. Has at least 2 enabled languages
  2. URL Negotiation Provider is enabled

EXTENDABLE

  • hook_language_negotiation_info()

TRANSLATE INTERFACE

OVERVIEW

/ADMIN/CONFIG/REGIONAL/TRANSLATE

TRANSLATE INTERFACE

IMPORT

EXPORT

TRANSLATE CONTENT

Allow content administrator to translate content in system.
 
Core modules must be enabled:
  • Locale
  • Content Translation

ENABLE

  • Config content type
    • Publishing Options
      • Multilingual Support
        • Enable
        • Enable with translation
  • /admin/content/node
    • Language filter

TRANSLATE CONTENT

LOCALIZE.DRUPAL.ORG

  1. Community Translation Interface
  2. For Drupal Core
  3. For contributed modules
  4. Import/Export
  5. Linked from Project page

I18N MODULES

  1. https://drupal.org/project/i18n
  2. Multilingual Blocks — Display block in specific language
  3. Multilingual Variable — Custom Site name per language
  4. Taxonomy Translation
  5. Field Translation
  6. Content Translation
  7. User Translation

ENTITY TRANSLATION

  1. https://drupal.org/project/entity_translation
  2. Core Content Translation module only support node
  3. Added to Core of Drupal 8

 

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

 
Tiện ích gỡ bỏ Timeline mới - Liệu có hiệu quả?

Tiện ích gỡ bỏ Timeline mới - Liệu có hiệu quả?

Phần mở rộng Timeline Remove mới cho trình duyệt có thể sẽ giúp bạn nói lời từ biệt với Timeline. Nhưng cẩn thận!

Sắp ra mắt thêm sàn giao dịch “mua theo nhóm”

Sắp ra mắt thêm sàn giao dịch “mua theo nhóm”

Trong tháng 1 tới đây, người tiêu dùng trực tuyến sẽ có thêm một lựa chọn mới với mô hình mua theo nhóm

Đưa cô gái về nhà của mình ở quận Phú Nhuận để quan hệ mất 170 triệu

Đưa cô gái về nhà của mình ở quận Phú Nhuận để quan hệ mất 170 triệu

Đưa bạn gái mới quen về nhà “vui vẻ” trong thời điểm giãn cách xã hội, nam thanh niên ở TP.HCM bị chiếm đoạt gần 170 triệu đồng trong tài khoản cùng chiếc điện thoại iPhone.

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

 

Diet con trung