a whole new world for multilingual sites in drupal 8 - jam's drupal camp session
Post on 08-May-2015
3.134 Views
Preview:
DESCRIPTION
TRANSCRIPT
A WHOLE new world for multilingual sites
in Drupal 8
@gaborhojtsy
Drupal 8
SERVICES
SPARK!
VIEWSl
CONFIGURATION MGMT
!
MOBILE
5
MULTILINGUAL
!"
"
#
#
p
$
973 People contributed
so far
Photo by Michael Schmid
Photo by Michael Schmid
Photo by Michael Schmid
Photo by Michael Schmid
1000+ Resolved Drupal 8
multilingual issues
Drupal 7 MULTILINGUAL
Drupal CORE
Drupal 7 MULTILINGUAL
Drupal CORE
LOCALELanguages, foreign language website UI.
%
Drupal 7 MULTILINGUAL
Drupal CORE
L10n UPAvoid tedious manual translation downloads.
LOCALELanguages, foreign language website UI.
%
m
Drupal 7 MULTILINGUAL
Drupal CORE
L10n UPAvoid tedious manual translation downloads.
CONTENT TRANSLATION
Only for nodes, makes copies of nodes.
LOCALELanguages, foreign language website UI.
%
Ü
m
Drupal 7 MULTILINGUAL
Drupal CORE
L10n UPAvoid tedious manual translation downloads.
CONTENT TRANSLATION
Only for nodes, makes copies of nodes.
LOCALELanguages, foreign language website UI.
I18NMenus, taxonomy, field labels, views. Oh you also need i18n_views module; and webform_localization, and...
$
%
Ü
m
Drupal 7 MULTILINGUAL
Drupal CORE
L10n UPAvoid tedious manual translation downloads.
CONTENT TRANSLATION
Only for nodes, makes copies of nodes.
LOCALELanguages, foreign language website UI.
I18NMenus, taxonomy, field labels, views. Oh you also need i18n_views module; and webform_localization, and...
VARIABLEAPI for handling some of the configuration. Settings translations!
&
$
%
Ü
m
Drupal 7 MULTILINGUAL
Drupal CORE
L10n UPAvoid tedious manual translation downloads.
CONTENT TRANSLATION
Only for nodes, makes copies of nodes.
LOCALELanguages, foreign language website UI.
I18NMenus, taxonomy, field labels, views. Oh you also need i18n_views module; and webform_localization, and...
VARIABLEAPI for handling some of the configuration. Settings translations!
Entity translationFor Drupal Commerce for example. Oh you also need Title module!
'
&
$
%
Ü
m
Drupal 7 MULTILINGUAL
FOUR PILLARS in DRUPAL 8
LANGUAGEBase services for all
modules dealing with data. Not just
multilingual.
%
FOUR PILLARS in DRUPAL 8
LANGUAGEBase services for all
modules dealing with data. Not just
multilingual.
INTERFACEInterface
translation has built-in update
feature, improved usability.
% 8
FOUR PILLARS in DRUPAL 8
LANGUAGEBase services for all
modules dealing with data. Not just
multilingual.
INTERFACEInterface
translation has built-in update
feature, improved usability.
CONTENTField translation in built-in API for all entities. Content
translation module provides user
interface.
% 8 é
FOUR PILLARS in DRUPAL 8
LANGUAGEBase services for all
modules dealing with data. Not just
multilingual.
INTERFACEInterface
translation has built-in update
feature, improved usability.
CONTENTField translation in built-in API for all entities. Content
translation module provides user
interface.
CONFIGCommon
configuration system handles
blocks, views, field settings. Unified
translation.
(% 8 é
FOUR PILLARS in DRUPAL 8
LANGUAGEBase services for all modules dealing with data. Not just multilingual.
%I
@
Language IS STEP ONE
Language IS STEP ONE
Language ASSIGNMENT
NODES
é
USERS%
ALIASES(
Language ASSIGNMENT
NODES
é
TERMS)
USERS%
ALIASES(
Language ASSIGNMENT
NODES
é
TERMS)
USERS%
ALIASES(
VIEWS*
Language ASSIGNMENT
NODES
é
TERMS)
USERS%
ALIASES(
VIEWS*
Language ASSIGNMENT
SITE INFO
#
NODES
é
TERMS)
USERS%
ALIASES(
VIEWS*
Language ASSIGNMENT
SITE INFO
#
LANGUAGE SELECTOR NOT ALWAYS EXPOSED
NODES
é
TERMS)
USERS%
ALIASES(
VIEWS*
Language ASSIGNMENT
SITE INFO
#
LANGUAGE SELECTOR NOT ALWAYS EXPOSED
........&
FLEXIBLE Language SETUP
FLEXIBLE Language SETUP
Language VISIBILITY
Language VISIBILITY
BLOCKS CAN SHOW/HIDE BASED ON LANGUAGE
VIEWS ALREADY HAS LANGUAGE FILTERING FEATURES FOR CONTENT LISTS
DRUPAL BUILT-IN PAGES ARE CONVERTED TO VIEWS
Language SELECTION
Language SELECTION
NAME TRANSLITERATION
NAME TRANSLITERATION
ENGLISH CAN BE DELETED
LANGUAGE
%
DELETE ENGLISH FLEXIBLE SELECTION
BLOCK VISIBILITY VIEWS
FLEXIBLE CONFIG WIDER ASSIGNMENT
FIRST IN INSTALLER@
INTERFACE TRANSLATIONInterface translation has built-in update feature, improved usability.
8
m
II
AUTOMATED DOWNLOADS
AUTOMATED DOWNLOADS
MODULE ENABLED AUTOMATICALLY IN FOREIGN INSTALL
NOT REQUIRED IF YOU WANT LANGUAGE ASSIGNMENT ONLY
AUTOMATED TRANSLATION DOWNLOADS
CENTRALIZED TRANSLATION FILE
LOCATION
CUSTOMization TRACKING
CUSTOMization TRACKING
Customized translations are tracked
May be protected from community translation overwrites
import will not time out, reads in pieces
WHOLE NEW INTERFACE
WHOLE NEW INTERFACE
TRANSLATE TO ENGLISH
TRANSLATE TO ENGLISH
INTERFACE
8
TRANSLATE TO ENGLISH WHOLE New INTERFACE
CUSTOM translation tracked Centralized file dir
auto-download separate module
CONTENT TRANSLATIONField translation in built-in API for all entities. Content translation module provides user interface.
é
+
III
ALL CONTENT ENTITIES ARE SUPPORTED
CONTENT ENTITIES?
Entities
CONTENT ENTITIES?
Entities
CONTENT ENTITIES?
Content
NODES users
comments TERMS
contact messages
menu items
INTEGRATED CONFIGURATION
INTEGRATED CONFIGURATION
TRANSLATIOn INTERFACE
TRANSLATIOn INTERFACE
TRANSLATION TABS ON CONtent
add translations for each language
possible to take different source language
Can edit “all language” values with permission
TRANSLATIOn INTERFACE
TRANSLATION TABS ON CONtent
add translations for each language
possible to take different source language
Can edit “all language” values with permission
TRANSLATIOn INTERFACE
TRANSLATION TABS ON CONtent
add translations for each language
possible to take different source language
Can edit “all language” values with permission
PROPERTY TRANSLATION IN THE
WORKS
UPGRADE MIGRATION PATH WILL BE CONTRIB
CORE SEARCH AND API HAS LANGUAGE SUPPORT
NODE ACCESS API HAS LANGUAGE SUPPORT
CONTENT
é
NODE ACCESS API SUPPORTED Search index as separate
Search APIs updated FOR ALL content entities
PER BUNDLE + FIELD + SUB-FIELD properties TODO
MIGRATION PATH
CONFIG TRANSLATIONCommon configuration system handles blocks, views, field settings. Unified translation.
(t
IV
CONFIG VS. CONTENT
Entities
CONFIG VS. CONTENT
Entities
CONFIG VS. CONTENT
Content
NODES users
comments TERMS
contact messages
menu items
Entities
CONFIG VS. CONTENT
Content
NODES users
comments TERMS
contact messages
menu items
CONFIGURATION
views
vocabularies
CONTACT CATEGORIES
FIELDS
SITE INFO
USER MAILS
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
LANGUAGE TRACKED ON EACH CONFIG FILE
LANGUAGE OVERRIDES STORED WITH CONFIG
FOR SHIPPED CONFIGURATION
FOR SHIPPED CONFIGURATION
LOCALIZE.d.o INTEGRATION TODO
FOR ANY CONFIGURATION
FOR ANY CONFIGURATION
CONFIG
(
FULL TRANSLATION MODULE standard translation tabs
config overrides works for any config
SHIPPED CONFIg translated
FOUR PILLARS in DRUPAL 8
LANGUAGEBase services for all
modules dealing with data. Not just
multilingual.
%
FOUR PILLARS in DRUPAL 8
LANGUAGEBase services for all
modules dealing with data. Not just
multilingual.
INTERFACEInterface
translation has built-in update
feature, improved usability.
% 8
FOUR PILLARS in DRUPAL 8
LANGUAGEBase services for all
modules dealing with data. Not just
multilingual.
INTERFACEInterface
translation has built-in update
feature, improved usability.
CONTENTField translation in built-in API for all entities. Content
translation module provides user
interface.
% 8 é
FOUR PILLARS in DRUPAL 8
LANGUAGEBase services for all
modules dealing with data. Not just
multilingual.
INTERFACEInterface
translation has built-in update
feature, improved usability.
CONTENTField translation in built-in API for all entities. Content
translation module provides user
interface.
CONFIGCommon
configuration system handles
blocks, views, field settings. Unified
translation.
(% 8 é
FOUR PILLARS in DRUPAL 8
https://twitter.com/tstoeckler/status/402410686359158784
GET INVOLVED
WEBSITEdrupal8multilingual.org / localize.drupal.org
Twitter twitter.com/d8mi
SPRINT IN SZEGEDszeged2014.drupaldays.org (March 24-30)
SPRINT IN AUSTINaustin2014.drupal.org/sprints (May 30-June 8)
t
!
!
"
GET INVOLVED
TRY IT OUT AT DRUPAL.oRG/8
top related