Hi, I'm Victoria

👋

footer: @TTGonda victoriagonda.com

Internationalization-ing

Victoria Gonda

^Notes

What is Internationalization?

^Notes

i18n

^Notes

Localization (l10n)

^Notes

Support Right-to-Left (RTL)

^Notes

Use mindful abbreviations and formats

Watch iconography semantics

Why Internationalize Your App

Makes the product accessible to more people

Makes it more comfortable for others

Makes a higher quality app

^Notes

Saves time later

^Notes

Localization

Localization

Android

values/strings.xml

<string name="greeting">Hello, %s</string>

values-es/strings.xml

<string name="greeting">Hola, %s</string>

^Notes

Android

context.getString(R.string.greeting)

OR

<TextView android:text="@string/greeting" />

react-localization1

let strings = new LocalizedStrings({
 en:{
   greeting:"Hello, {0}"
 },
 es: {
   greeting:"Hola, {0}"
 }
});

react-localization1

<Text>
  {strings.greeting}
</Text>

Translating

Localization Tools

inline, fill Transifex Logo Crowdin Logo Jotive Logo Lokalise Logo

^Notes


Original Screenshot of Crowdin App


fit Don't assume text length

^Notes

Localization with an API

^Notes

^Source: http://apiux.com/2013/04/25/how-to-localize-your-api/

Locale safe text manipulation

"TITLE".toLowerCase() -> “title” in English

"TITLE".toLowerCase() -> “tıtle” in Turkish

^Notes

Abbreviations and Formats

Not everyone uses and knows the same abbreviations

Avoid idioms

^Notes

People prefer different formats

^Notes

Display the user’s currency

^Notes

Right-To-Left

^Notes

Support right aligned text

^Notes

Bi-Directional Isolation tag2

User <bdi>إيان</bdi>: 90 points

^Notes

Also reverse parts of layouts and breadcrumbs

Use start/end over left/right

^Notes

Reverse directional icons and icons showing text direction

^Notes -Reverse directional icons and icons showing text direction

Try it out

inline Force RTL settings

RTL emoticon example3

inline LTR emoticon is backwards


“Wait, it does ??tahW: How supporting Right-to-Left can expose your bad UX” by Moriel Schottlender3

inline

Iconography Semantics

Use icon meaning

^Notes

Symbols might not mean the same thing in all cultures 🙏

Watch for icons with currency and letters

Testing

^Notes

Some links

^Notes

Thanks

Victoria Gonda

@TTGonda | victoriagonda.com

  1. https://www.npmjs.com/package/react-localization  2

  2. https://www.w3schools.com/tags/tag_bdi.asp 

  3. https://youtu.be/xpumLsaAWGw  2