---
title: "How can I use a different locale than the one defined for the whole Flutter app in one part of it?"
description: "Overriding the inherited locale and localizations delegates for a child widget is pretty easy in Flutter. For that purpose, you only need to wrap the desired widget with the `Localizations.override` factory constructor."
category: flutter
date: 2023-02-01
updated: 2026-10-09
canonical: https://localizely.com/i18n-questions/flutter/how-can-i-use-a-different-locale-than-the-one-defined-for-the-whole-flutter-app-in-one-part-of-it/
---

# How can I use a different locale than the one defined for the whole Flutter app in one part of it?
  
Overriding the inherited locale and localizations delegates for a child widget is pretty easy in Flutter.  
For that purpose, you only need to wrap the desired widget with the `Localizations.override` factory constructor.

```dart
class OtherLocalized extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Localizations.override(
      context: context,
      locale: const Locale("es"),
      child: Builder(
        builder: (BuildContext context) => Center(
          child: Text(
            AppLocalizations.of(context)!.textIntroFirstPageTitle,
          ),
        ),
      ),
    );
  }
}
```

Source: https://localizely.com/i18n-questions/flutter/how-can-i-use-a-different-locale-than-the-one-defined-for-the-whole-flutter-app-in-one-part-of-it/
