![]() ![]() If the user chooses a different language than the ones supported by your app, your app will use the default language. You may also have to alter your layouts to accommodate languages that take up more space or read from right to left. ![]() For each language, obtain a translation for all of the app's text-content, menu choices, navigation elements, notifications, alerts, and messages. To localize an app for different countries, add a language for each country if possible. You can add to your app support for dialects of a language for different locales, such as Français (France) and Français (Canada). For example, a user can choose English (U.S.) for the United States locale, or English (U.K.) for the United Kingdom locale. Understanding language and locale settingsĪndroid users can choose both the language and the locale for their devices in the Settings app. For a complete description of resource-switching and all the types of configurations that you can specify - screen orientation, touchscreen type, and so on - see Providing Alternative Resources.) (This chapter focuses on localization and locale. When a user runs the app, Android automatically selects and loads the resources that best match the device. For an app developer, localization is about tailoring the entire app experience to a user's language and locale.Īn app can include sets of resource directories customized for different languages and locales. To reach the most users, your app should display information in ways appropriate to those locales. Testing languages and locales with appsĪndroid runs on devices in different languages, and in different places (referred to as locales ).Understanding language and locale settings.Unit 6: Working with Architecture Components 1.2: Fragment lifecycle and communicationsĤ.3: Best practices: network, battery, compression ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |