Skip to content
Peter Liljeholm edited this page Jun 8, 2024 · 3 revisions

Introduction

  • Welcome to this .NET MAUI project template featuring Fluent UI integration and support for translations using resources. This repository serves as a boilerplate for developers looking to kickstart their cross-platform native app development journey with .NET MAUI and Fluent UI.

Getting Started: Setting Up Environment for Android and iOS

  1. Clone the Repository

    • Begin by cloning the repository to your local machine using Git.
  2. Install Visual Studio with .NET MAUI Workload

    • Download and install Visual Studio from the official website.
    • During installation, include the ".NET MAUI" workload.
    • Ensure to include components for Android and iOS development.
  3. Configure Android and iOS Emulators/Simulators

    • Set up Android emulators and iOS simulators using Visual Studio's device managers.

Fluent UI Fluent UI, is a design language developed by Microsoft. It offers a set of reusable, cross-platform components and styles that help developers create modern and intuitive user interfaces for web and desktop applications. Fluent UI emphasizes consistency, accessibility, and responsiveness, making it easy to build visually appealing and user-friendly experiences across different platforms and devices. With its flexible and customizable components, Fluent UI enables developers to achieve a cohesive look and feel while maintaining brand identity and adhering to design best practices.

Implementing Translations

  • Working with Resource Files for Localization

In .NET development, localization is managed using resource files. These files contain translations for text strings and other resources used in the application, organized by language or locale. Developers create separate resource files for each supported language, typically using a naming convention that includes the culture code (e.g., "Resource.en-US.resx" for English (United States)).

At runtime, the application loads the appropriate resource file based on the user's language preferences or system settings. Developers access localized resources programmatically using APIs provided by the .NET framework, ensuring that the application displays content in the user's preferred language.

.NET Maui using Fluent UI

Clone this wiki locally