building multilingual sites in drupal 7 by yoni steingiesser

35
Building Multilingual Sites in Drupal 7 Yoni Steingiesser

Upload: jonathan-steingiesser

Post on 19-May-2015

1.621 views

Category:

Design


5 download

DESCRIPTION

The experience I had building multilingual sites in Drupal 7. Special thanks to Suzanne Kennedy for allowing me to use some of the content from her presentations at DrupalCon Denver 2012 and DrupalCon Munich 2012.

TRANSCRIPT

Page 1: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Building Multilingual

Sites in Drupal 7

Yoni Steingiesser

Page 2: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

About Me

Senior Web Coordinator at Information Services at the University of WA

Founder of Stemaco Technology

UX Design, Consulting, Drupal

stemaco.com.au

Twitter: @stemaco

Page 3: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Drupal at UWA

News System

Information Services Suggestions System

Trialling CiviCRM

Page 4: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser
Page 5: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser
Page 6: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Why I needed to create a Multilingual Experience ? My Wedding – becandyoni.com

The User Experience:

reaching the target audience in their language

Page 7: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Why Multilingual?

Reach a wider audience

Expand to new markets

Improve usability

Search engine optimization

Government regulations

Company policy

Page 8: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Things to consider when building multilingual sites How many languages do you need to support?

Does the user interface need to be fully translated?

Do you have content in all the languages? Is all the content translated?

What happens to content that has not been translated?

Page 9: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

What is Multilingual

Drupal?

Page 10: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

What is Multilingual in Drupal?

Type of Site Core Modules Contributed Modules

Explanation

Foreign-language site

Locale Install Drupal in a foreign language

Multilingual site Locale i18n User Interface and Each node in a different language Menus & Blocks Translated

Multilingual site + Translations

Locale i18n + Entity Translation or Content Translation

Introduce Content Translation e.g About Us

Page 11: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

What comes with core?

Locale - Adds language handling functionality and enables the translation of the user interface to languages other than English

Page 12: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Internationalization

i18n - drupal.org/project/i18n

Developing a website that enables localization of content and other elements

Separating elements that should be localized so they can be specified for each locale

Page 13: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Localization

l10n

Process of adapting a website for a certain locale including:

Translation of text and graphics

Numeric, date and time formats

Currency

Time zones

Legal requirements

Localized Drupal Distribution to install Drupal with user interface translations pulled automatically from localize.drupal.org

Page 14: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Other Contributed Modules I used Entity Translation – Allows (fieldable)

entities to be translated into different languages, by introducing entity/field translation

Language Icons – provides icons for language links

Page 15: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

What content experience

are you building?

Page 16: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Fully Symmetric Experience

Page 17: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser
Page 18: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Asymmetric Experience

Page 19: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

What about untranslated content? You can either show it in the language where

you have the content for all languages

OR Hide the untranslated content

Page 20: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Content Translation Methods Node-Level Translations

Field-Level Translation

Other Entity Types

Core Entities e.g Comments, Taxonomy terms, Users

Entities from contributed modules e.g Commerce Product Entities

Page 21: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

How will Language Affect

the Design?

Page 22: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser
Page 23: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Right to Left Languages

Page 24: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

What Type of Text are

you Translating?

Page 25: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Types of Text

Page 26: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Content Translation

Workflows

Page 27: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Cost of Translation

Time-consuming

UX – Context, local awareness, jargon etc

Expensive

How can you speed up the process and reduce the amount of text to be translated?

Page 28: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Content Translation Workflow

Page 29: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Creating a Translation Workflow from Scratch Permissions for translators

Rules and Flag to trigger translation requests

Views for Translators

Page 30: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Permissions for Translation Node-Level Translation: Translators need to be

able to create content

Field-Level Translation: Permissions to edit the entity

Page 31: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Typical UI for Translators

Page 32: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Challenges

Different UI for Entity Translation/Content Translation is confusing

Professional translators need to learn Drupal

Need to build system for reviewing translations

Page 33: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Demo

Enabling Locale Module

Add Language (Language Name or Custom)

Detection and Selection

Enabling i18n module

Page 34: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Demo – Enabling Language Support1. Content Types > Basic Page > Translate > Edit

2. Publishing Options – Enabled, with translation

3. Save

4. Multilingual Settings

Require language

Normal

Page 35: Building Multilingual Sites in Drupal 7 by Yoni Steingiesser

Acknowledgement

Suzanne Kennedy’s presentations in:

DrupalCon Denver - denver2012.drupal.org

DrupalCon Munich - munich2012.drupal.org