12
Localization with MVVM
So, we’ve built this fantastic Recipes! app, and we’re quite pleased with its design and features. However, as it stands, the app is entirely in English. What about culinary enthusiasts from different parts of the world? The answer is localization, specifically focusing on translating all aspects of our app to make it accessible and user-friendly to a global audience.
In this chapter, we’ll tackle localization through the lens of MVVM. We’ll be looking at translating the hardcoded copy labels that are baked into the app, but also at effectively fetching language-specific data from the API. To accomplish this, we’ll delve into the following topics:
- Working with cultures, resource files, and localization
- Looking at a ...
Get The MVVM Pattern in .NET MAUI now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.