All the language support in Drupal 8 - At Drupalaton 2014

1,101 views

Published on

All the language support in Drupal 8 traning slides from Drupalaton 2014

Published in: Technology
1 Comment
4 Likes
Statistics
Notes
  • Gábor Hojtsy has a fantastic workshop in #drupalaton about language support in Drupal 8. If you need some international examples about Drupal websites, you should definitely have a look on his presentation!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
1,101
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
12
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide

All the language support in Drupal 8 - At Drupalaton 2014

  1. 1. All the language support in Drupal 8 Gábor Hojtsy Drupal 8 Moar, betterer multilingual *****
  2. 2. Who are you?
  3. 3. Who are we?
  4. 4. 1080+ contributors* *Based on issue participation
  5. 5. Why are we doing this?
  6. 6. 1. Reduce complexity 2. Add missing features
  7. 7. Drupal core
  8. 8. Drupal core locale
  9. 9. Drupal core locale l10n_update
  10. 10. Drupal core locale l10n_update l10n_client
  11. 11. Drupal core locale translation l10n_update l10n_client
  12. 12. Drupal core locale translation l10n_update i18n l10n_client
  13. 13. Drupal core locale translation l10n_update i18n … … … l10n_client
  14. 14. Drupal core locale translation l10n_update i18n … … … variable l10n_client
  15. 15. Drupal core locale translation l10n_update i18n … … … variable l10n_client … …
  16. 16. Drupal core locale translation l10n_update i18n i18n_views … … … variable l10n_client … …
  17. 17. Drupal core locale translation l10n_update i18n i18n_views … … … variable webform_localization l10n_client … …
  18. 18. Drupal core locale translation l10n_update i18n i18n_views … … … variable webform_localization l10n_client entity_translation … …
  19. 19. Drupal core locale translation l10n_update i18n i18n_views … … … variable webform_localization l10n_client entity_translation title … …
  20. 20. Drupal core locale translation l10n_update i18n i18n_views … … … variable webform_localization l10n_client entity_translation title … … tmgmt
  21. 21. Language !
  22. 22. Language ! Interface translation 8
  23. 23. Language ! Content translation é Interface translation 8
  24. 24. Language ! Content translation é Interface translation 8 Configuration translation X
  25. 25. Environment setup
  26. 26. PHP 5.4.2
  27. 27. DRUPAL 8 MULTILINGUAL CHANGES SUMMARY v. 2.0 for Drupalaton / INSTALLER   Language  list  first   Detects  browser  language   Integrates  with  automated  translation  download   Picking  a  language  enables  Language  and  Interface  Translation     LANGUAGE   Language  module  as  base  language  service   Simplified  language  config  (no  domain/prefix,  etc)   2  special  instead  of  1  (und:  Not  specified,  zxx:  Not  applicable)   English  can  be  deleted  (not  even  added  if  installed  foreign)     CONTENT   LANGUAGE   Content  type  language  support  more  flexible  (one  screen  setup)   Language  selector  field  is  freely  positioned   Same  flexibility  +  new  language  support  on  other  “content”   Views  to  customize  pages  based  on  content  language     BLOCK   LANGUAGE   Blocks  got  language  visibility   More  things  are  blocks     NEGOTIATIO N   Defaults  to  path  prefix  negotiation  (80%),  configuration  there   Added  admin  language  option  (move  it  up  to  first  if  used)   Browser  detection  configurable  +  more  accurate   Fallback  language  configurable  (don’t  change  site  default)     Users  have  language  preference  +  admin  language  if  applicable  
  28. 28. hojtsy.hu (bottom right)
  29. 29. ! Know exact language of every detail on the site
  30. 30. ! First step in installer "#
  31. 31. ! Language as its own module "#
  32. 32. ! Content language defaults "#
  33. 33. ! Views "#
  34. 34. ! Block language "#
  35. 35. ! More language
 selection options "#
  36. 36. ! Transliteration "#
  37. 37. ! - Delete English - Flexible selection - Block visibility - Views - Flexible configuration - First in installer - Know language
  38. 38. Language ! Content translation é Interface translation 8 Configuration translation X
  39. 39. 8 Integrate and simplify
  40. 40. 8 Automated translation download / update "#
  41. 41. 8 Deployment friendly
 file storage "#
  42. 42. 8 Whole new translation UI "#
  43. 43. 8 Custom string tracking "#
  44. 44. 8 Translate to English "#
  45. 45. - “Translate to” English - Whole new UI - Custom string tracking - Deployment friendly - Automated updates 8
  46. 46. Language ! Content translation é Interface translation 8 Configuration translation X
  47. 47. é Unify and make flexible
  48. 48. Applies to all “content” through fields "# é
  49. 49. Search compatible "# é
  50. 50. Views "# é
  51. 51. - Node access compatible - Search compatbile - Field/sub-field level - Views - Migration é
  52. 52. Language ! Content translation é Interface translation 8 Configuration translation X
  53. 53. X Cover all configuration
  54. 54. Entities Content Nodes Users Comments Terms Contact messages Menu links Configuration Views Vocabularies Contact categories Fields Site info User emails Other Path aliases Menus X
  55. 55. Intuitive access to translation "# X
  56. 56. X Shipped view Interface translation Configuration translation 8 88 X Custom view
  57. 57. X Shipped view Interface translation Configuration translation 8 88 X Custom view Shipped role Custom role
  58. 58. X Shipped view Interface translation Configuration translation 8 88 X Custom view Shipped role Custom role 8 88 X
  59. 59. X Block placement (Has title, language) Custom block content entity (Has field content, language) Field configuration Field configuration Field configuration
  60. 60. X Menu (Has name, language) Custom items Config itemsSoftware items Block placement (Has title, language)
  61. 61. - All of configuration - In-place tabs - Central overview - Think about source X
  62. 62. Language ! Content translation é Interface translation 8 Configuration translation X
  63. 63. What’s missing?
  64. 64. Better workflow and 3rd party integration in contrib
  65. 65. @d8mi
 #drupal-i18n http://drupal8multilingual.org

×