Presentation is loading. Please wait.

Presentation is loading. Please wait.

@2010 Mihail L. Sichitiu1 Android Introduction Hello Localization.

Similar presentations


Presentation on theme: "@2010 Mihail L. Sichitiu1 Android Introduction Hello Localization."— Presentation transcript:

1 @2010 Mihail L. Sichitiu1 Android Introduction Hello Localization

2 @2010 Mihail L. Sichitiu2 Goal  Learn how to localize an application

3 @2010 Mihail L. Sichitiu3 /res  /res/values/strings.xml Hello, L10N Shall I compare thee to a summer"'"s day? Thou art more lovely and more temperate. No Localisation This dialog box"'"s strings are not localised. For every locale, the text here will come from values/strings.xml.  /res/drawable/flag.png

4 @2010 Mihail L. Sichitiu4 Localization Locale CodeLanguage/CountryLocation of strings.xml Location of flag.png DefaultEnglish/ UK/res/values/res/drawable de-rDEGerman/Germany/res/values-de/res/drawable-de-rDE fr-rFRFrench/France/res/values-fr/res/values/fr-rFR fr-rCAFrench/Canada/res/values-fr/res/values/fr-rCA en-rUSEnglish/US/res/values/res/values/en-rUS es-rVESpanish/Venezuela/res/values-es/res/values/es-rVE

5 @2010 Mihail L. Sichitiu5 Change the locale to English-US Spanish-Venezuela Spanish-Spain


Download ppt "@2010 Mihail L. Sichitiu1 Android Introduction Hello Localization."

Similar presentations


Ads by Google