AppLocalizations class abstract

Callers can lookup localized strings with an instance of AppLocalizations returned by AppLocalizations.of(context).

Applications need to include AppLocalizations.delegate() in their app's localizationDelegates list, and the locales they support in the app's supportedLocales list. For example:

import 'l10n/app_localizations.dart';

return MaterialApp(
  localizationsDelegates: AppLocalizations.localizationsDelegates,
  supportedLocales: AppLocalizations.supportedLocales,
  home: MyApplicationHome(),
);

Update pubspec.yaml

Please make sure to update your pubspec.yaml to include the following packages:

dependencies:
  # Internationalization support.
  flutter_localizations:
    sdk: flutter
  intl: any # Use the pinned version from flutter_localizations

  # Rest of dependencies

iOS Applications

iOS applications define key application metadata, including supported locales, in an Info.plist file that is built into the application bundle. To configure the locales supported by your app, you’ll need to edit this file.

First, open your project’s ios/Runner.xcworkspace Xcode workspace file. Then, in the Project Navigator, open the Info.plist file under the Runner project’s Runner folder.

Next, select the Information Property List item, select Add Item from the Editor menu, then select Localizations from the pop-up menu.

Select and expand the newly-created Localizations item then, for each locale your application supports, add a new item and select the locale you wish to add from the pop-up menu in the Value field. This list should be consistent with the languages listed in the AppLocalizations.supportedLocales property.

Implementers

Constructors

AppLocalizations(String locale)

Properties

about String
No description provided for @about.
no setter
aboutTadamon String
No description provided for @aboutTadamon.
no setter
appDescription String
No description provided for @appDescription.
no setter
appName String
No description provided for @appName.
no setter
appOffLine String
No description provided for @appOffLine.
no setter
appOffLineMassageDontRunning String
No description provided for @appOffLineMassageDontRunning.
no setter
appOflineLoading String
No description provided for @appOflineLoading.
no setter
appOnLineMassageRunning String
No description provided for @appOnLineMassageRunning.
no setter
back String
No description provided for @back.
no setter
cancel String
No description provided for @cancel.
no setter
clearLogs String
No description provided for @clearLogs.
no setter
clearLogsMassage String
No description provided for @clearLogsMassage.
no setter
close String
No description provided for @close.
no setter
contactDev String
No description provided for @contactDev.
no setter
contactDevMassage String
No description provided for @contactDevMassage.
no setter
csvSubtitle String
No description provided for @csvSubtitle.
no setter
darkTheme String
No description provided for @darkTheme.
no setter
dataPreview String
No description provided for @dataPreview.
no setter
del String
No description provided for @del.
no setter
devDonate String
No description provided for @devDonate.
no setter
developer String
No description provided for @developer.
no setter
devMassage String
No description provided for @devMassage.
no setter
devThx String
No description provided for @devThx.
no setter
No description provided for @donate.
no setter
editText String
No description provided for @editText.
no setter
enableOnline String
No description provided for @enableOnline.
no setter
enableOnlineMassage String
No description provided for @enableOnlineMassage.
no setter
errorHandle String
No description provided for @errorHandle.
no setter
exportAsCsv String
No description provided for @exportAsCsv.
no setter
exportAsJson String
No description provided for @exportAsJson.
no setter
exportAsPdf String
No description provided for @exportAsPdf.
no setter
exportLogs String
No description provided for @exportLogs.
no setter
exportLogsSummary String
No description provided for @exportLogsSummary.
no setter
followSystemTheme String
No description provided for @followSystemTheme.
no setter
githubTiket String
No description provided for @githubTiket.
no setter
githubTiketMassage String
No description provided for @githubTiketMassage.
no setter
hashCode int
The hash code for this object.
no setterinherited
home String
No description provided for @home.
no setter
howToUse String
No description provided for @howToUse.
no setter
howToUseMassage String
No description provided for @howToUseMassage.
no setter
imageAnalysis String
No description provided for @imageAnalysis.
no setter
jsonSubtitle String
No description provided for @jsonSubtitle.
no setter
letastUpdate String
No description provided for @letastUpdate.
no setter
letestUpdateMassage String
No description provided for @letestUpdateMassage.
no setter
lightTheme String
No description provided for @lightTheme.
no setter
localeName String
final
logs String
No description provided for @logs.
no setter
mostafaMahmoud String
No description provided for @mostafaMahmoud.
no setter
noPage String
No description provided for @noPage.
no setter
noRoutes String
No description provided for @noRoutes.
no setter
palatineMap String
No description provided for @palatineMap.
no setter
pdfSubtitle String
No description provided for @pdfSubtitle.
no setter
period String
No description provided for @period.
no setter
readMe String
No description provided for @readMe.
no setter
readMeMassage String
No description provided for @readMeMassage.
no setter
reportProduct String
No description provided for @reportProduct.
no setter
reportProductMassage String
No description provided for @reportProductMassage.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scanBarcode String
No description provided for @scanBarcode.
no setter
scanedProducts String
No description provided for @scanedProducts.
no setter
No description provided for @search.
no setter
sheetTitleProductInfo String
No description provided for @sheetTitleProductInfo.
no setter
supportedProducts String
No description provided for @supportedProducts.
no setter
switchToDarkTheme String
No description provided for @switchToDarkTheme.
no setter
switchToLightTheme String
No description provided for @switchToLightTheme.
no setter
systemTheme String
No description provided for @systemTheme.
no setter
telegramChannel String
No description provided for @telegramChannel.
no setter
telegramChannelMassage String
No description provided for @telegramChannelMassage.
no setter
test String
No description provided for @test.
no setter
totalLogs String
No description provided for @totalLogs.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

of(BuildContext context) AppLocalizations?

Constants

delegate → const LocalizationsDelegate<AppLocalizations>
localizationsDelegates → const List<LocalizationsDelegate>
A list of this localizations delegate along with the default localizations delegates.
supportedLocales → const List<Locale>
A list of this localizations delegate's supported locales.