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

 
iOS 5.1 Outs New iPhone, iPad, and Apple TV Models

iOS 5.1 Outs New iPhone, iPad, and Apple TV Models

Earlier today, Apple released iOS 5.1 Beta. As usual, hackers got right to work dissecting the software to see if there were any secrets hidden within its source code. Previous code-digging has uncovered features like FaceTime over 3G.

Integrated Device Technology, Inc. - IDT.com

Thiết kế Drupal site: www.idt.com

IDT required a solution that would prove to be fast, have an extremely easy-to-use interface, scale to thousands of products and offer the flexibility to grow and change quickly to keep pace with the company's markets

Google adsence

Kiếm tiền bằng Google Adsense mà không cần có blog riêng

Say một thời gian lang thang trên mạng, tôi đã đúc kết được một vài kinh nghiệm và chia sẻ với các bác muốn kiếm tiền với Google Adsense mà không có blog/website.

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

 

Diet con trung