59
Taking over the world... ...the Flickr way

"Taking Over the World the Flickr Way" (SXSW 2008)

Embed Size (px)

DESCRIPTION

My talk, given in Ballroom A of the Austin Convention Center at 5pm on Tuesday March 11th 2008. A very high-level overview of what it took to get Flickr.com from English-only to 7 additional languages

Citation preview

Page 1: "Taking Over the World the Flickr Way" (SXSW 2008)

Taking over the world...

...the Flickrway

Page 2: "Taking Over the World the Flickr Way" (SXSW 2008)

Entire site in 7 new languages

Launched June 12th,

2007

Background

Page 3: "Taking Over the World the Flickr Way" (SXSW 2008)

Background

French

German

Italian

KoreanSpanish

Trad. ChinesePortuguese

Emphasis on Language over Locale

Page 4: "Taking Over the World the Flickr Way" (SXSW 2008)

Background

Page 5: "Taking Over the World the Flickr Way" (SXSW 2008)

Background

Page 6: "Taking Over the World the Flickr Way" (SXSW 2008)

Challenges

Too many words!

Page 7: "Taking Over the World the Flickr Way" (SXSW 2008)

Challenges

Legacycode

Page 8: "Taking Over the World the Flickr Way" (SXSW 2008)

Challenges

Hugely passionate

Community

Page 9: "Taking Over the World the Flickr Way" (SXSW 2008)

Challenges

Owned by a big

company

Page 10: "Taking Over the World the Flickr Way" (SXSW 2008)

i18n vs l10n

i18nl10nVs.

Page 11: "Taking Over the World the Flickr Way" (SXSW 2008)

Community Interaction

Translatable Text

Payment Systems

Time

CharacterSets

Content Classification

Internationalization

Page 12: "Taking Over the World the Flickr Way" (SXSW 2008)

LocalizationChoosing

ScopeTranslation Language-

switch

Multi-locale

Deploy

Community Mgmt.

Legal Review

Global QA/

Testing

Cultural Adjustments

Etc.

Page 13: "Taking Over the World the Flickr Way" (SXSW 2008)

When is the right time?

Day One

unless you’re 100%

sure it’ll never be needed...(surprisingly

rare)

Don’t Rush!

(better late than too early)

Internationalization Localization

Page 14: "Taking Over the World the Flickr Way" (SXSW 2008)

Be Prepared!

Page 15: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<p class="Confirm">Your photo has been replaced.</p>

Page 16: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<p> <span class="HighlightNew"> Note</span> You should only add a license to photos you have taken yourself. </p>

Page 17: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<span id="noteCount">This photo has notes. Move your mouse over the photo to see them.</span>

Page 18: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<img src="{$context.prev.thumb}"title="Go to the previous photo in the set" alt="">

Page 19: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<td>Date</td>

<h3>Would you like to comment?</h3>

<li>Taken in {$place}</li>

HTML

alone isn’t

enough!

Page 20: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<p class="Confirm">Your photo has been replaced.</p>

Page 21: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<p class="Confirm">[sentence_replace_confirm]</p>

Page 22: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<p class="Confirm">Your photo has been replaced.</p>

Page 23: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<p class="Confirm"><!!>Your photo has been replaced.</!!></p>

Page 24: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<img src="{$context.prev.thumb}"title="Go to the previous photo in the set" alt="">

Page 25: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<img src="{$context.prev.thumb}"title="<!!>Go to the previous photo in the set</!!>" alt="">

Page 26: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<!!>Your photo has been replaced.</!!>

Page 27: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<!! esc=”squote”>Your photo has been replaced.</!!>

Page 28: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<!! dev=”replace”>Your photo has been replaced.</!!>

Page 29: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<!! note=”Confirmation message”>Your photo has been replaced.</!!>

Page 30: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

<!! note=”Confirmation message” dev=”replace” esc=”squote”>Your photo has been replaced.</!!>

Page 31: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?

preg_match_all("#\<\!\!(.*?)\>(.*?)\</\!\!\>#s", $content,$matches,PREG_SET_ORDER);

Page 32: "Taking Over the World the Flickr Way" (SXSW 2008)

It’s 5am. Do you know where your phrases are?<myFormatInfo xmlns:its="http://www.w3.org/2005/11/its" > <desc>ITS rules used by the Open University</desc> <hostVoc>http://www.tei-c.org/ns/1.0</hostVoc> <rulesId>98ECED99DF63D511B1250008C784EFB1</rulesId> <rulesVersion>v 1.81 2006/03/28 07:43:21</rulesVersion> ... <its:rules version="1.0"> <its:translateRule selector="//header" translate="no"/> <its:translateRule selector="//term" translate="no"/> <its:termRule selector="//term" term="yes"/> <its:withinTextRule withinText="yes" selector="//term | //b"/> </its:rules></myFormatInfo>

http://www.w3.org/TR/its/

Page 33: "Taking Over the World the Flickr Way" (SXSW 2008)

Say “no” to concatenation

My {$beverage} brings all the {$gendered_people} to the

yard.FAIL

Page 34: "Taking Over the World the Flickr Way" (SXSW 2008)

Say “no” to concatenation

{if $beverage == ‘milkshake’}{if $gender == ‘male’}<!!>My milkshake brings all the boys to the yard.</!!>

{else}<!!>My milkshake brings all the girls to the yard.</!!>

{/if}{elseif $beverage == ‘beer’}{if $gender == ‘male’}<!!>My beer brings all the boys to the yard.</!!>

{else}<!!>My beer brings all the girls to the yard.</!!>

{/if}{/if}

Page 35: "Taking Over the World the Flickr Way" (SXSW 2008)

Say “no” to concatenation

Page 36: "Taking Over the World the Flickr Way" (SXSW 2008)

Say “no” to concatenation

<!!>{$username} added you as a contact!</!!>

{if $count == 1}<!!>You have 1 photo</!!>{else}<!!>You have {$count} photos</!!>{/if}

Page 37: "Taking Over the World the Flickr Way" (SXSW 2008)

Dates, Times & Numbers

1,0001.000

Page 38: "Taking Over the World the Flickr Way" (SXSW 2008)

Javascript

var username = 'Simon';

alert(username+' loves internationalizing!');

Page 39: "Taking Over the World the Flickr Way" (SXSW 2008)

Javascript

http://www.vladdy.net/Demos/printf.html

Page 40: "Taking Over the World the Flickr Way" (SXSW 2008)

Javascript

var username = 'Simon';

alert(sprintf(“<!!>%s loves internationalizing!',username);

Page 41: "Taking Over the World the Flickr Way" (SXSW 2008)

Encoding

UTF-8

Crazy moon-encoding

Crazy moon-encoding

Page 42: "Taking Over the World the Flickr Way" (SXSW 2008)

Taking the Plunge

Page 43: "Taking Over the World the Flickr Way" (SXSW 2008)

Where to?

Established benefits

Potential Headaches

Page 44: "Taking Over the World the Flickr Way" (SXSW 2008)

Translation

http://en.wikipedia.org/wiki/Translation_memory

Page 45: "Taking Over the World the Flickr Way" (SXSW 2008)

Translation

Page 46: "Taking Over the World the Flickr Way" (SXSW 2008)

Translation

Page 47: "Taking Over the World the Flickr Way" (SXSW 2008)

Translation

Page 48: "Taking Over the World the Flickr Way" (SXSW 2008)

Translation

Page 49: "Taking Over the World the Flickr Way" (SXSW 2008)

Community Translation

LiveJournalXanga

Facebook Google

Page 50: "Taking Over the World the Flickr Way" (SXSW 2008)

Professional Translation

Yahoo!AppleIBM

MicrosoftAmazon

AOL Google

Page 51: "Taking Over the World the Flickr Way" (SXSW 2008)

Deploy

x

Page 52: "Taking Over the World the Flickr Way" (SXSW 2008)

Legal/Policy

Page 53: "Taking Over the World the Flickr Way" (SXSW 2008)

Community

Foster a single

community

Tear down

barriers where you can

Page 54: "Taking Over the World the Flickr Way" (SXSW 2008)

Community

Page 55: "Taking Over the World the Flickr Way" (SXSW 2008)

Community

Page 56: "Taking Over the World the Flickr Way" (SXSW 2008)

OH HAI

I internashunalized ur website(it wuz easy)

Page 57: "Taking Over the World the Flickr Way" (SXSW 2008)

Photo Creditshttp://flickr.com/photos/stuckincustoms/300928932/

http://flickr.com/photos/eole/380316678/http://www.flickr.com/photos/wokka/62946359/http://flickr.com/photos/kevinsteele/18256000/

http://www.flickr.com/photos/chrys/1417766186/http://www.flickr.com/photos/mathieuduchatel/473072749/

http://flickr.com/photos/ylorson/428367899/http://flickr.com/photos/michael-beat/639851517/http://www.flickr.com/photos/hitherto/368729176/

http://flickr.com/photos/bre/2131807572/http://flickr.com/photos/sirstick/100807860/http://flickr.com/photos/straup/542624102/

All photos licensed under Creative Commons,or used with permission.

Page 58: "Taking Over the World the Flickr Way" (SXSW 2008)

Photo Creditshttp://flickr.com/photos/moonhouse/15840149/

http://www.flickr.com/photos/shutterhack/2209753282/http://flickr.com/photos/masck/171983614/

http://www.flickr.com/photos/kevinomara/715257884/http://www.flickr.com/photos/slavers/154864349/http://www.flickr.com/photos/xiaming/134106281/

http://www.flickr.com/photos/lifeontheedge/155223959/http://www.flickr.com/photos/daquellamanera/576524069/

http://www.flickr.com/photos/luce_eee/474035126/http://www.flickr.com/photos/kevinsteele/1507196484/http://www.flickr.com/photos/tammyville/2244081193/

http://flickr.com/photos/kool_skatkat/61187332/

All photos licensed under Creative Commons,or used with permission.

Page 59: "Taking Over the World the Flickr Way" (SXSW 2008)

Any Questions?Ask now!

or [email protected]

(Interesting questions and hopefully-useful answerswill be posted on http://hitherto.net)

Slides available soon athttp://hitherto.net/talks