Upload
gabor-hojtsy
View
5.298
Download
3
Embed Size (px)
DESCRIPTION
Slides from Drupalcamp Stockholm 2011
Citation preview
Multilingual DrupalGábor Hojtsy, Acquia
1
*
1
*
User interface
Content*
1
*
User interface
Content*
Localization (L10N)
Internationalization (I18N)
1Locale module★Set up languages
★Manage user interface localization
1UI localization★Drupal.org releases
★Localize.drupal.org
★Ftp.drupal.org
1Download and use
★Localize.drupal.org/download
1How many modules?
(1+40)*number of languages
1Updates?
★Download again
★Upload/import again
★No, please no!
1Localization update
★l10n_update module
★Works like update.module
★Protects local changes
1Contribute back
★Join localize.drupal.org group
★Use l10n_client module to touch up and contribute
1Recap
★Locale.module manages languages
★l10n_update must to maintain localizations
★l10n_client to touch up and contribute back
1Hot tip
★Check out l10n_install
1
*
*You are building multiple sites in one site. Yeah.
*
Content, content, content★Not just nodes, ok?
★Think settings, blocks, content types, views, panels, menus, etc.
★User/admin contributions
*
Stumbling block #1★My content type
properties are not translated!
★My forum vocabulary is not translated!
*
Model for translation(0) Leave it alone
(1) Assign language
(2) Assign language + group related items
(3) Translate in-object
*
Model for translation(0) Leave it alone
(1) Assign language
(2) Assign language + group related items
(3) Translate in-object
Eg. localization
*
Apply this to menus(0) Leave it alone
(1) Assign language
(2) Assign language + group related items
(3) Translate in-object
admin area menu
language specific
language variants
same menu, translated labels
*
Apply this to nodes(0) Leave it alone
(1) Assign language
(2) Assign language + group related items
(3) Translate in-object
?
blog post
press releases, polls
og nodes, product nodes, polls
*
Apply this to everything(0) Leave it alone
(1) Assign language
(2) Assign language + group related items
(3) Translate in-object
*
Build it for nodes(0) Leave it alone
(1) Assign language
(2) Assign language + group related items
(3) Translate in-object
locale + setup
translation.module
entity_translation contrib module
*
Wait, entities?★Nodes
★Users
★Comments
★Taxonomy
*
Not that rosy after all★Settings
★Blocks
★Views
★Panels
★Webforms
★Flags
★Rules
★........
*
Build it for nodes(0) Leave it alone
(1) Assign language
(2) Assign language + group related items
(3) Translate in-object
locale + setup
translation.module
entity_translation contrib module
Core
*
Build it for paths(0) Leave it alone
(1) Assign language
(2) Assign language + group related items
(3) Translate in-object
locale
“i18n.module”
N/A
Core
*
Build it for the rest...(0) Leave it alone
(1) Assign language
(2) Assign language + group related items
(3) Translate in-object “i18n.module”
“i18n.module” - i18nstrings
Core
“i18n.module”
*
Build it for contribs(0) Leave it alone
(1) Assign language
(2) Assign language + group related items
(3) Translate in-object
Contrib
Contrib*
*
Enterprise★Translation workflows★Quality control★Outside translators★Translation memory
*
Enterprise★Translation workflows★Quality control★Outside translators★Translation memory
Actions, Rules
“XLIFF Module”
*
Lingotek★Focuses on node translation★Integrates with content translation★Menu item translation with i18n★Translation itself outside of Drupal
*
Lingotek
*
Lingotek
*
Icanlocalize★Translation management module★Set up translators with queues★Queue up content for translation★Local, Google translate or pay-per-word★Can integrate with other providers★Works with more Drupal objects
*
Icanlocalize
1
*
i18n Sprint CampMay 11-15th, i18nsprint.drupalevents.de
Thanks@gaborhojtsy