際際滷

際際滷Share a Scribd company logo
INTERNATIONALIZATION
       what a cool looking word
1. Issues
2. Suggestions
Internationalization
Internationalization
畊潮畛≡
1. Source Code
2. Output Settings
3. Databases
1. Source Code
2. Output Settings
3. Databases
1. Source Code
2. Output Settings
3. Databases
<html lang=en>
<head>
<meta http-equiv=quot;Content-Typequot;
content=quot;text/html; charset=utf-8quot; />
1. Source Code
2. Output Settings
3. Databases
Internationalization
LANGUAGE TRANSLATION
Internationalization
Internationalization
Internationalization
Hidden, Implicit, Contextual
       information
?
Pierre Vinken, 61 years old,
    will join the board as a
nonexecutive director Nov. 29.
<nnp>Pierre</nnp> <nnp>Vinken</nnp>,
<cd>61</cd> <nns>years</nns> <jj>adjective</jj>,
   <md>will</md> <vb>join</vb> <dt>the</dt>
      <nn>board</nn> <in>as</in> <dt>a</dt>
    <jj>nonexecutive</jj> <nn>director</nn>
          <nnp>Nov.</nnp> <cd>29</cd>.

nnp - proper noun
                           vb - verb
cd - cardinal number
                           dt - determiner (article)
nns - plural common noun
                           nn - singular common noun
jj - adjective
                           in - preposition
md - modal
noun - posterior
Babys got back!
                                                   (inferior)

                                                   noun - posterior
My back hurts
                                                   (general)

Use the back door please                           adjective


He tried to back out of the deal                   verb


Every time I think Im out, they pull be back in   adverb(ish)
 l'ombre des jeunes filles en fleurs
 l'ombre des jeunes filles en fleurs
 l'ombre des jeunes filles en fleurs

     Within a Budding Grove
 l'ombre des jeunes filles en fleurs

     Within a Budding Grove
 l'ombre des jeunes filles en fleurs

     Within a Budding Grove
 l'ombre des jeunes filles en fleurs

     Within a Budding Grove

 In the Shadow of Young Girls in
             Flower
Home
Internationalization
Internationalization
Internationalization
STRING REPLACEMENT
Start with a subset
Select an i18n toolkit
Scoped Lookups

# normal lookup
t(welcome)

# scoped lookup
t(welcome, header)
Named Interpolations
# wrong
t(%s added to %s, task, project)

# less wrong
t({{1}} added to {{2}}, task, project)

# right
t({{name}} added to {{project}}, task, project)

# evil
name + t( added to ) + project
Polymorphic Localization

# inflexible, noisy
l_date(date)
l_currency(currency)
l_number(number)

# flexible, clean
l(anything)
Test with Pig Latin
Build a QA workflow
Internationalization
LOCALIZATION
LOCALISATION
Numbers have units
Times have Timezones
造
(currency)
DOMAINS
Local DNS or Cookie hack
SSL
CHINA?
THANK YOU
   Questions?

More Related Content

Internationalization