50 likes | 126 Views
Hello Localization. Android Introduction. Goal. Learn how to localize an application. /res. /res/values/strings.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">Hello, L10N</string>
E N D
Hello Localization Android Introduction
Goal Learn how to localize an application
/res /res/values/strings.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">Hello, L10N</string> <string name="text_a">Shall I compare thee to a summer"'"s day?</string> <string name="text_b">Thou art more lovely and more temperate.</string> <string name="dialog_title">No Localisation</string> <string name="dialog_text">This dialog box"'"s strings are not localised. For every locale, the text here will come from values/strings.xml.</string> </resources> /res/drawable/flag.png
Change the locale to English-US Spanish-Venezuela Spanish-Spain