Search⌘ K
AI Features

Challenge: Internationalizing the Application

Explore how to internationalize a Flutter application by incorporating the flutter_localizations package. Learn to set localization delegates, enable code generation, and translate UI strings into French to make your app accessible to a wider audience.

In this challenge, you will use the flutter_localizations library to add language translations for your application.

Goal

This lesson aims to help you understand how to internationalize your application. You will learn to add different languages to your application by adding French language translations for your application.

Specs

When you run the application below, you’ll notice that it’s only accessible in English:

Starter code

Before you begin the challenge, look at the starter code below and run ...