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

460 views

Published on

Presented at DrupalCon Mumbai February 2016.

Published in: Technology
  • Be the first to comment

Everything multilingual in Drupal 8

  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 L10n UP CONTENT TRANSLATION LOCALE I18N VARIABLE Entity translation % & $ ' Ü m Drupal 7 MULTILINGUAL
  11. 11. 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
  12. 12. LANGUAGE Base services for all modules dealing with data. Not just multilingual. ' I @
  13. 13. Language IS STEP ONE
  14. 14. NODES é TERMS ( USERS % ALIASES ) VIEWS * Language ASSIGNMENT SITE INFO # LANGUAGE SELECTOR NOT ALWAYS EXPOSED ........ &
  15. 15. FLEXIBLE Language SETUP
  16. 16. Language VISIBILITY BLOCKS CAN SHOW/HIDE BASED ON LANGUAGE All page elements are blocks Blocks can be placed multiple times
  17. 17. Language SELECTION
  18. 18. NAME TRANSLITERATION
  19. 19. ENGLISH CAN BE DELETED
  20. 20. ' DELETE ENGLISH FLEXIBLE SELECTION BLOCK VISIBILITY Multiple block placement FLEXIBLE CONFIG WIDER ASSIGNMENT FIRST IN INSTALLER
  21. 21. INTERFACE TRANSLATION Interface translation has built-in update feature, improved usability. 8 m II
  22. 22. AUTOMATED TRANSLATION 
 DOWNLOADS &
 UPdates
  23. 23. CENTRALIZED TRANSLATION FILE LOCATION
  24. 24. CUSTOMization TRACKING Customized translations are tracked May be protected from community translation overwrites import will not time out, reads in pieces
  25. 25. WHOLE NEW INTERFACE
  26. 26. TRANSLATE TO ENGLISH
  27. 27. 8 TRANSLATE TO ENGLISH WHOLE New INTERFACE CUSTOM translation tracked Centralized file dir auto-download separate module
  28. 28. CONTENT TRANSLATION Field translation in built-in API for all entities. Content translation module provides user interface. é + III
  29. 29. ALL CONTENT ENTITIES ARE SUPPORTED
  30. 30. Entities CONTENT ENTITIES? Content NODES users comments TERMS contact messages menu items
  31. 31. INTEGRATED CONFIGURATION
  32. 32. TRANSLATIOn INTERFACE TRANSLATION TABS ON CONtent add translations for each language possible to take different source language Can edit “all language” values with permission
  33. 33. Views ALL the things!
  34. 34. UPGRADE 
 MIGRATION PATH IN THE WORKS
  35. 35. CORE SEARCH AND API HAS LANGUAGE SUPPORT
  36. 36. NODE ACCESS API HAS LANGUAGE SUPPORT
  37. 37. é 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
  38. 38. CONFIG TRANSLATION Common configuration system handles blocks, views, field settings. Unified translation. ( t IV
  39. 39. 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
  40. 40. LANGUAGE TRACKED ON EACH CONFIG FILE
  41. 41. LANGUAGE OVERRIDES STORED WITH CONFIG
  42. 42. FOR SHIPPED CONFIGURATION
  43. 43. LOCALIZE.d.o INTEGRATION INCLUDED
  44. 44. FOR ANY CONFIGURATION
  45. 45. ( standard translation tabs config overrides supports deployment works for any config SHIPPED CONFIg translated
  46. 46. 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
  47. 47. WHAT IS MISSING?
  48. 48. Drupal8multilingual.org
 TWiTTER.com/D8MI
 LOCALIZE.DRUPAL.org
 t " GET INVOLVED "
  49. 49. TRY IT OUT AT simplytest.me/project/drupal/8.0.3
  50. 50. TRY IT OUT AT simplytest.me/project/ multilingual_demo/8.x-1.x
  51. 51. Everything multilingual in DruPal 8 @gaborhojtsy

×