Larks internationalization presentation
-
Upload
steven-rifkin -
Category
Technology
-
view
456 -
download
4
description
Transcript of Larks internationalization presentation
Building Multilanguage
Websites
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
with Localization, Internationalization and Domain
Wednesday, February 29, 2012
Presenter
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
Steve Rifkin
d.o. - stevenator
twitter - @steverifkin
Wednesday, February 29, 2012
Agenda
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
Overview
Tools
Gotchas
Demo
Q/A
Wednesday, February 29, 2012
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
intimidating
Wednesday, February 29, 2012
i18n vs i10n
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
Internationalized vs. Localizedone can exist without the other?
Wednesday, February 29, 2012
Internationalization
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
Changing a softwares properties according to the
cultural traditions of different peoples
Wednesday, February 29, 2012
Localization
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
Implementation of a specific language
for an internationalized software;
localized objects
individual translations
cultural rules (left to right, .rtl)
charset (ASCII, ISO-8859-1, KOI8-U)
Wednesday, February 29, 2012
D7 Debate
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
you choose your flavor -- core content
translations vs fieldable translations
Wednesday, February 29, 2012
Detection Tools
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
Before Drupal vs. Inside Drupal
Wednesday, February 29, 2012
Before Drupal
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
Inbound traffic redirect based on
Request IP
Browser Localization
Wednesday, February 29, 2012
Drupal
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
User Object ($user->locale)
Wednesday, February 29, 2012
Translate Interface
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
.po files
localize.drupal.org
admin/build/translate
Wednesday, February 29, 2012
t() function
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
For module development, all
string should be passed through
the t functions; supports
substitutions
Wednesday, February 29, 2012
Drupal Modules
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
Jose Reyero
Gábor Hojtsy
Wednesday, February 29, 2012
Drupal Modules
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
Locale
Content Translation Internationalization (i18n)
Core Contrib
d6 & d7
d7 Entity
Entity translation
Variable
l10n_update (capital Igloo then 10)
Wednesday, February 29, 2012
Drupal Modules
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
Translation Overview
l10n_client
Wednesday, February 29, 2012
Multilingual Variables
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
$conf['i18n_variables'] = array();goes into settings.php
Wednesday, February 29, 2012
Gotchas
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
README files are so darn important, aren’t they?
Content Negotiation in languages global settings
Content Type enabled
Wednesday, February 29, 2012
Domain
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
$conf['domain_i18n_variables'] = array();
edit settings.php
Wednesday, February 29, 2012
Sources
@larksla @sbdrupalSanta Barbara Drupal Meetup 2/28/2012
www.linuxjournal.com/article/6176
groups.drupal.org/internationalization
www.lullabot.com/articles/localized-and-multi-lingual-content-drupal-7
www.archive.org/details/IntroductionToI18NInDrupal7
www.archive.org/details/StateOfInternationalizationInDrupal7
Wednesday, February 29, 2012