Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Everything multilingual in Drupal 8 (2015 November)

1,423 views

Published on

Presented at DrupalCamp Helsinki and at DrupalCamp Vienna at end of November 2015.

Published in: Technology
  • Be the first to comment

Everything multilingual in Drupal 8 (2015 November)

  1. 1. Everything multilingual in DruPal 8 @gaborhojtsy
  2. 2. Drupal 8 SERVICES AUTHORING ! VIEWS lCONFIGURATION MGMT ! MOBILE 5 MULTILINGUAL !" " # # p $
  3. 3. 1300+ People contributed
  4. 4. Photo by Michael Schmid
  5. 5. Photo by Michael Schmid
  6. 6. Photo by Michael Schmid
  7. 7. Photo by Pedro Lozano
  8. 8. 1700+ MANAGED Drupal 8 multilingual issues
  9. 9. WHY ARE WE DOING IT
  10. 10. Drupal CORE Drupal 7 MULTILINGUAL
  11. 11. Drupal CORE LOCALE Languages, foreign language website UI. % Drupal 7 MULTILINGUAL
  12. 12. Drupal CORE L10n UP Avoid tedious manual translation downloads. LOCALE Languages, foreign language website UI. % m Drupal 7 MULTILINGUAL
  13. 13. Drupal CORE L10n UP Avoid tedious manual translation downloads. CONTENT TRANSLATION Only for nodes, makes copies of nodes. LOCALE Languages, foreign language website UI. % Ü m Drupal 7 MULTILINGUAL
  14. 14. Drupal CORE L10n UP Avoid tedious manual translation downloads. CONTENT TRANSLATION Only for nodes, makes copies of nodes. LOCALE Languages, foreign language website UI. I18N Menus, taxonomy, field labels, views. Oh you also need i18n_views module; and webform_localization, and... $ % Ü m Drupal 7 MULTILINGUAL
  15. 15. Drupal CORE L10n UP Avoid tedious manual translation downloads. CONTENT TRANSLATION Only for nodes, makes copies of nodes. LOCALE Languages, foreign language website UI. I18N Menus, taxonomy, field labels, views. Oh you also need i18n_views module; and webform_localization, and... VARIABLE API for handling some of the configuration. Settings translations! & $ % Ü m Drupal 7 MULTILINGUAL
  16. 16. Drupal CORE L10n UP Avoid tedious manual translation downloads. CONTENT TRANSLATION Only for nodes, makes copies of nodes. LOCALE Languages, foreign language website UI. I18N Menus, taxonomy, field labels, views. Oh you also need i18n_views module; and webform_localization, and... VARIABLE API for handling some of the configuration. Settings translations! Entity translation For Drupal Commerce for example. Oh you also need Title module! ' & $ % Ü m Drupal 7 MULTILINGUAL
  17. 17. LANGUAGE Base services for all modules dealing with data. Not just multilingual. % FOUR PILLARS in DRUPAL 8
  18. 18. LANGUAGE Base services for all modules dealing with data. Not just multilingual. INTERFACE Interface translation has built-in update feature, improved usability. % 8 FOUR PILLARS in DRUPAL 8
  19. 19. LANGUAGE Base services for all modules dealing with data. Not just multilingual. INTERFACE Interface translation has built-in update feature, improved usability. CONTENT Field translation in built-in API for all entities. Content translation module provides user interface. % 8 é FOUR PILLARS in DRUPAL 8
  20. 20. LANGUAGE Base services for all modules dealing with data. Not just multilingual. INTERFACE Interface translation has built-in update feature, improved usability. CONTENT Field translation in built-in API for all entities. Content translation module provides user interface. CONFIG Common configuration system handles blocks, views, field settings. Unified translation. (% 8 é FOUR PILLARS in DRUPAL 8
  21. 21. LANGUAGE Base services for all modules dealing with data. Not just multilingual. % I @
  22. 22. Language IS STEP ONE
  23. 23. NODES é USERS % ALIASES ( Language ASSIGNMENT
  24. 24. NODES é TERMS ) USERS % ALIASES ( Language ASSIGNMENT
  25. 25. NODES é TERMS ) USERS % ALIASES ( VIEWS * Language ASSIGNMENT
  26. 26. NODES é TERMS ) USERS % ALIASES ( VIEWS * Language ASSIGNMENT SITE INFO #
  27. 27. NODES é TERMS ) USERS % ALIASES ( VIEWS * Language ASSIGNMENT SITE INFO # LANGUAGE SELECTOR NOT ALWAYS EXPOSED
  28. 28. NODES é TERMS ) USERS % ALIASES ( VIEWS * Language ASSIGNMENT SITE INFO # LANGUAGE SELECTOR NOT ALWAYS EXPOSED ........ &
  29. 29. FLEXIBLE Language SETUP
  30. 30. Language VISIBILITY BLOCKS CAN SHOW/HIDE BASED ON LANGUAGE All page elements are blocks Blocks can be placed multiple times
  31. 31. Language SELECTION
  32. 32. NAME TRANSLITERATION
  33. 33. ENGLISH CAN BE DELETED
  34. 34. % DELETE ENGLISH FLEXIBLE SELECTION BLOCK VISIBILITY Multiple block placement FLEXIBLE CONFIG WIDER ASSIGNMENT FIRST IN INSTALLER
  35. 35. INTERFACE TRANSLATION Interface translation has built-in update feature, improved usability. 8 m II
  36. 36. AUTOMATED TRANSLATION 
 DOWNLOADS &
 UPdates
  37. 37. CENTRALIZED TRANSLATION FILE LOCATION
  38. 38. CUSTOMization TRACKING Customized translations are tracked May be protected from community translation overwrites import will not time out, reads in pieces
  39. 39. WHOLE NEW INTERFACE
  40. 40. TRANSLATE TO ENGLISH
  41. 41. 8 TRANSLATE TO ENGLISH WHOLE New INTERFACE CUSTOM translation tracked Centralized file dir auto-download separate module
  42. 42. CONTENT TRANSLATION Field translation in built-in API for all entities. Content translation module provides user interface. é + III
  43. 43. ALL CONTENT ENTITIES ARE SUPPORTED
  44. 44. Entities CONTENT ENTITIES?
  45. 45. Entities CONTENT ENTITIES? Content NODES users comments TERMS contact messages menu items
  46. 46. INTEGRATED CONFIGURATION
  47. 47. TRANSLATIOn INTERFACE TRANSLATION TABS ON CONtent add translations for each language possible to take different source language Can edit “all language” values with permission
  48. 48. TRANSLATIOn INTERFACE TRANSLATION TABS ON CONtent add translations for each language possible to take different source language Can edit “all language” values with permission
  49. 49. TRANSLATIOn INTERFACE TRANSLATION TABS ON CONtent add translations for each language possible to take different source language Can edit “all language” values with permission
  50. 50. Views ALL the things!
  51. 51. UPGRADE 
 MIGRATION PATH IN THE WORKS
  52. 52. CORE SEARCH AND API HAS LANGUAGE SUPPORT
  53. 53. NODE ACCESS API HAS LANGUAGE SUPPORT
  54. 54. é NODE ACCESS API SUPPORTED Search index as separate Search APIs updated Migration path todo views integrated FOR ALL content entities PER BUNDLE + FIELD + SUB-FIELD
  55. 55. CONFIG TRANSLATION Common configuration system handles blocks, views, field settings. Unified translation. ( t IV
  56. 56. Entities CONFIG VS. CONTENT
  57. 57. Entities CONFIG VS. CONTENT Content NODES users comments TERMS contact messages menu items
  58. 58. Entities CONFIG VS. CONTENT Content NODES users comments TERMS contact messages menu items CONFIGURATION views vocabularies CONTACT CATEGORIES FIELDS SITE INFO USER MAILS
  59. 59. Entities CONFIG VS. CONTENT Content NODES users comments TERMS contact messages menu items CONFIGURATION views vocabularies CONTACT CATEGORIES FIELDS SITE INFO USER MAILS OTHERS PATH ALIASES MENUS
  60. 60. LANGUAGE TRACKED ON EACH CONFIG FILE
  61. 61. LANGUAGE OVERRIDES STORED WITH CONFIG
  62. 62. FOR SHIPPED CONFIGURATION
  63. 63. LOCALIZE.d.o INTEGRATION INCLUDED
  64. 64. FOR ANY CONFIGURATION
  65. 65. ( standard translation tabs config overrides supports deployment works for any config SHIPPED CONFIg translated
  66. 66. LANGUAGE Base services for all modules dealing with data. Not just multilingual. % FOUR PILLARS in DRUPAL 8
  67. 67. LANGUAGE Base services for all modules dealing with data. Not just multilingual. INTERFACE Interface translation has built-in update feature, improved usability. % 8 FOUR PILLARS in DRUPAL 8
  68. 68. LANGUAGE Base services for all modules dealing with data. Not just multilingual. INTERFACE Interface translation has built-in update feature, improved usability. CONTENT Field translation in built-in API for all entities. Content translation module provides user interface. % 8 é FOUR PILLARS in DRUPAL 8
  69. 69. LANGUAGE Base services for all modules dealing with data. Not just multilingual. INTERFACE Interface translation has built-in update feature, improved usability. CONTENT Field translation in built-in API for all entities. Content translation module provides user interface. CONFIG Common configuration system handles blocks, views, field settings. Unified translation. (% 8 é FOUR PILLARS in DRUPAL 8
  70. 70. WHAT IS MISSING?
  71. 71. WEBSITE
 drupal8multilingual.org TWiTTER
 twitter.com/d8mi TRANSLATE DRUPAL 8
 localize.drupal.org t " GET INVOLVED "
  72. 72. TRY IT OUT AT simplytest.me/project/drupal/8.0.0
  73. 73. TRY IT OUT AT simplytest.me/project/ multilingual_demo/8.x-1.x
  74. 74. Everything multilingual in DruPal 8 @gaborhojtsy

×