multilingual module madness - drupalcon · 2015. 5. 15. · [email protected] kristen pol /...

53

Upload: others

Post on 25-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?
Page 2: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

MULTILINGUAL MODULE MADNESS

KRISTEN POL

Page 3: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected] [email protected]

Kristen Pol / [email protected]

Multilingual Module Madness! Which i18n modules do you really need?

Page 4: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Hello!

Page 5: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

 Kristen Pol  Drupal for 11 years!  Hook 42  [email protected]  @kristen_pol kristen.org

My name is Kristen.

Page 6: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Builder? Drupal Veteran?

PM?

Everything?

Multilingual?

Who are you?

Drupal Newbie? Themer?

Page 7: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

The customer is happy.

Page 8: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

The customer wants Spanish!

Page 9: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Don’t panic!

Page 10: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

But, it probably won’t be simple.

Page 11: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

0  

10  

20  

30  

40  

50  

60  

70  

Simple   Moderate   Complex  

Days  

How long might it take?

Page 12: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Which modules should you use?

Page 13: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

It depends!

Which modules should you use?

Page 14: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

180+!  How do you find the modules?

Page 15: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Here are some multilingual modules.

Page 16: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

What is the anatomy of a Drupal site?

Page 17: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

➡  Logo ➡  Menus ➡  Images ➡  Blocks ➡  Nodes ➡  Layout ➡  …

Here is a typical Drupal site.

Page 18: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Analyze your site!

Page 19: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Put everything into multilingual buckets.

Page 20: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Text (strings) coming from modules and themes

echo t(‘DrupalCon LA rocks!’);

What is the UI bucket?

Page 21: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Here is some UI text.

Page 22: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

How do you translate UI text?

Page 23: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

•  Locale •  Localization Update •  Localization Client •  String Overrides

kristen.org/d7-i18n

Here are the key UI modules.

Page 24: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

•  Nodes •  Comments •  Users •  Taxonomy terms* •  Custom entities

(e.g. Commerce Products)

What is the Content bucket?

Page 25: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Here is some node content.

Page 26: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

How do you translate content?

Page 27: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

How do you translate content?

Page 28: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

•  Nodes o Node translation

modules o Field translation

modules

•  Other Entities o Field translation

modules

Which content modules should you choose?

Page 29: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

The node translation method uses separate nodes.

Page 30: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

The field translation method uses one node.

Page 31: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

•  Content Translation (core)

•  Synchronize Translations (i18n)

kristen.org/d7-i18n

Here are the key node translation modules.

Page 32: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

•  Entity Translation (core contrib)

•  Title

kristen.org/d7-i18n

Here are the key field translation modules.

Page 33: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Should you use node or field translation for nodes?

h<ps://www.acquia.com/blog/how-­‐make-­‐your-­‐drupal-­‐website-­‐mulJlingual  

“We decided to initially go with entity translation for acquia.com, but…we decided to migrate to node translation because of issues with several contrib modules. We are actually now using a mix of node translation and entity translation.” - Katelyn Fogarty, May 2013

Page 34: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

•  Menus •  Blocks •  Taxonomy terms* •  Views •  URLs •  Variables •  Panels •  SEO config •  Anything that’s not

UI or Content….

What is the Config bucket?

Page 35: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Here is a Views page.

Page 36: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

How do you filter Views content?

Page 37: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

How do you translate Views text?

Page 38: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

How do you translate Views text?

Page 39: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

•  Transliteration •  Menu Translation (i18n) •  Block Languages (i18n) •  Taxonomy Translation (i18n) •  Path Translation (i18n) •  Contact Translation (i18n) •  Variable Translation (i18n) •  Internationalization Views •  …

kristen.org/d7-i18n

Here are the key config translation modules.

Page 40: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

•  Administration Language

•  Translation Table •  Translation

Overview •  Translation

Management Tool kristen.org/d7-i18n

Here are some admin & workflow modules.

Page 41: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Here are some 3rd party translator modules. •  Translation Management

Tool sub-modules o  Supertext o  Microsoft o  Google o  Nativy o  Gengo

•  Lingotek •  Cloudwords •  Smartling

kristen.org/d7-i18n

Page 42: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Here are even more handy modules! •  Domain Access •  Multilink + Linkit •  Language Icons* •  Language Switcher

Dropdown •  Pathauto i18n •  Apache Solr

Multilingual kristen.org/d7-i18n

Page 43: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Here’s a real example.

  locale entity_translation admin_language lang_dropdown

  i18n   i18n_block   i18n_field   i18n_menu   i18n_string   i18n_translation   i18nviews

  l10n_update potx tmgmt tmgmt_entity tmgmt_entity_ui tmgmt_field tmgmt_file tmgmt_language_combination tmgmt_local tmgmt_ui entity_translation_export_import

22 community multilingual modules 3 custom multilingual modules 4 multilingual patches

Page 44: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

What’s happening in Drupal 8?

Drupal 8 Multilingual Initiative! drupal8multilingual.org

Page 45: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

What’s happening in Drupal 8? •  Lots of good stuff •  Aimee’s demo at

2:15pm today in room 410!

•  Wed IRC meetings 9am Pacific Time

drupal8multilingual.org

Page 46: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

drupal8multilingual.org How to help with D8MI?

Page 47: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

•  Groups.drupal.org: internationalization & translations

•  Drupal.org Forums: translations •  IRC: #drupal-i18n •  Drupal.org docs

•  Multlingual Guide •  i18n How To

•  Other sites •  drupal8multilingual.org •  hojtsy.hu •  kristen.org

How can you learn more?

Page 48: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

It takes time.

Have patience.

Page 49: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

You can do this!

Don’t give up.

Page 50: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

You can make a difference :)

Help build a better Drupal.

Page 51: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Any questions?

Page 52: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

[email protected]

Have more questions? Email us at: [email protected]

THANKS!

Thanks for the art, Joe! And, thanks to Douglas, Gábor, Emma Jane & the East Bay DUG for feedback :)

Page 53: MULTILINGUAL MODULE MADNESS - DrupalCon · 2015. 5. 15. · answers@hook42.com Kristen Pol / kristen@hook42.com Multilingual Module Madness! Which i18n modules do you really need?

WHAT DID YOU THINK? EVAULATE THIS SESSION

THANK YOU!

HTTPS://EVENTS.DRUPAL.ORG/LOSANGELES2015/SESSIONS/MULTILINGUAL-

MODULE-MADNESS-WHICH-I18N-MODULES-DO-YOU-REALLY-NEED