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.new(String locale)

Properties

addingDataEnterSomethingHere String
No description provided for @addingDataEnterSomethingHere.
no setter
addingDataSomethingWrong String
No description provided for @addingDataSomethingWrong.
no setter
addingDataTryAgain String
No description provided for @addingDataTryAgain.
no setter
advancedSettingsHeadline String
No description provided for @advancedSettingsHeadline.
no setter
allow String
No description provided for @allow.
no setter
allowNotifications String
No description provided for @allowNotifications.
no setter
anUnknownErrorOccured String
No description provided for @anUnknownErrorOccured.
no setter
areYouSure String
No description provided for @areYouSure.
no setter
cancel String
No description provided for @cancel.
no setter
checkPointsTitle String
No description provided for @checkPointsTitle.
no setter
commentsOrDetailsButton String
No description provided for @commentsOrDetailsButton.
no setter
couldNotParseResponse String
No description provided for @couldNotParseResponse.
no setter
couldntReach String
No description provided for @couldntReach.
no setter
deleteLocalImagesButton String
No description provided for @deleteLocalImagesButton.
no setter
deleteUnseccessful String
No description provided for @deleteUnseccessful.
no setter
deletingImageThisMayTakeASec String
No description provided for @deletingImageThisMayTakeASec.
no setter
developerOptions String
No description provided for @developerOptions.
no setter
didntGetAnyResponseAfterSend String
No description provided for @didntGetAnyResponseAfterSend.
no setter
didYouMisclick String
No description provided for @didYouMisclick.
no setter
dismiss String
No description provided for @dismiss.
no setter
exceptionNoUrlToConnectToProvided String
No description provided for @exceptionNoUrlToConnectToProvided.
no setter
hashCode int
The hash code for this object.
no setterinherited
heightNotOptional String
No description provided for @heightNotOptional.
no setter
image String
No description provided for @image.
no setter
imagesButton String
No description provided for @imagesButton.
no setter
kurzTextHint String
No description provided for @kurzTextHint.
no setter
langTextHint String
No description provided for @langTextHint.
no setter
loading String
No description provided for @loading.
no setter
localeName String
final
localtionOwner String
No description provided for @localtionOwner.
no setter
locationAbschaltung String
No description provided for @locationAbschaltung.
no setter
locationAdditionalInfoSteckdosenLabel String
No description provided for @locationAdditionalInfoSteckdosenLabel.
no setter
locationASPLabel String
No description provided for @locationASPLabel.
no setter
locationASPRequieredLabel String
No description provided for @locationASPRequieredLabel.
no setter
locationHasSteckdosenLabel String
No description provided for @locationHasSteckdosenLabel.
no setter
locationHasStorageSpaceLabel String
No description provided for @locationHasStorageSpaceLabel.
no setter
locationHasWCLabel String
No description provided for @locationHasWCLabel.
no setter
locationHeight String
No description provided for @locationHeight.
no setter
locationKeyAddintionalInfoLabel String
No description provided for @locationKeyAddintionalInfoLabel.
no setter
locationRequiresKeyLabel String
No description provided for @locationRequiresKeyLabel.
no setter
locationSteigschutzKey String
No description provided for @locationSteigschutzKey.
no setter
locationWayUp String
No description provided for @locationWayUp.
no setter
locationYearOfBuild String
No description provided for @locationYearOfBuild.
no setter
loginButton String
No description provided for @loginButton.
no setter
loginCredentialsAreBeeingVerified String
No description provided for @loginCredentialsAreBeeingVerified.
no setter
loginErrorPleaseEnterPassword String
No description provided for @loginErrorPleaseEnterPassword.
no setter
loginErrorPleaseEnterUserName String
No description provided for @loginErrorPleaseEnterUserName.
no setter
loginLabelPassword String
No description provided for @loginLabelPassword.
no setter
loginUsername String
No description provided for @loginUsername.
no setter
logoutButton String
No description provided for @logoutButton.
no setter
mobileNetworkNotAllowed String
No description provided for @mobileNetworkNotAllowed.
no setter
newImageSendingThisMayTakeASec String
No description provided for @newImageSendingThisMayTakeASec.
no setter
nonetwork_forcedOfflineMode String
No description provided for @nonetwork_forcedOfflineMode.
no setter
noNetworkAvailable String
No description provided for @noNetworkAvailable.
no setter
noResponse String
No description provided for @noResponse.
no setter
notAvailable String
No description provided for @notAvailable.
no setter
noViableInternetConnection String
No description provided for @noViableInternetConnection.
no setter
ohneMaengel String
No description provided for @ohneMaengel.
no setter
option_canbeoffline String
No description provided for @option_canbeoffline.
no setter
option_canusemobilenetworkifpossible String
No description provided for @option_canusemobilenetworkifpossible.
no setter
option_debugallresponses String
No description provided for @option_debugallresponses.
no setter
option_debugimages String
No description provided for @option_debugimages.
no setter
option_debuglocalmirror String
No description provided for @option_debuglocalmirror.
no setter
option_forceOffline String
No description provided for @option_forceOffline.
no setter
option_infinitelyreloadpictures String
No description provided for @option_infinitelyreloadpictures.
no setter
option_mergeloadeddataintoonlinedata String
No description provided for @option_mergeloadeddataintoonlinedata.
no setter
option_mergeloadeddataintoonlinedataevenincachedparent String
No description provided for @option_mergeloadeddataintoonlinedataevenincachedparent.
no setter
option_preferremotedata String
No description provided for @option_preferremotedata.
no setter
option_preferremoteimages String
No description provided for @option_preferremoteimages.
no setter
option_showdoggo String
No description provided for @option_showdoggo.
no setter
option_tryOnlineIfOfflineFailed String
No description provided for @option_tryOnlineIfOfflineFailed.
no setter
option_tryonlinerequestincachedmode String
No description provided for @option_tryonlinerequestincachedmode.
no setter
option_usemobilenetworkfordownload String
No description provided for @option_usemobilenetworkfordownload.
no setter
option_usemobilenetworkforupload String
No description provided for @option_usemobilenetworkforupload.
no setter
option_usesystemtheme String
No description provided for @option_usesystemtheme.
no setter
optionsForThisImageHeadLine String
No description provided for @optionsForThisImageHeadLine.
no setter
permanentlyRemoveImage String
No description provided for @permanentlyRemoveImage.
no setter
pleaseDragDownToReloadThisPage String
No description provided for @pleaseDragDownToReloadThisPage.
no setter
pleaseWaitDataIsBeeingSynced String
No description provided for @pleaseWaitDataIsBeeingSynced.
no setter
plsWait String
No description provided for @plsWait.
no setter
positionHeightHint String
No description provided for @positionHeightHint.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seeSomeDoggos String
No description provided for @seeSomeDoggos.
no setter
setAsMainImage String
No description provided for @setAsMainImage.
no setter
settingMainImageThisMayTakeASec String
No description provided for @settingMainImageThisMayTakeASec.
no setter
settings String
No description provided for @settings.
no setter
shareImage String
No description provided for @shareImage.
no setter
somethingWentWrong String
No description provided for @somethingWentWrong.
no setter
somethingWentWrongWhileCommunicatingWithTheApi String
No description provided for @somethingWentWrongWhileCommunicatingWithTheApi.
no setter
sorryNoImageToUpload String
No description provided for @sorryNoImageToUpload.
no setter
theBodyHadNoErrorField String
No description provided for @theBodyHadNoErrorField.
no setter
tryAgainLater_noNetwork String
No description provided for @tryAgainLater_noNetwork.
no setter
uhoh String
No description provided for @uhoh.
no setter
unknown String
No description provided for @unknown.
no setter
updateSuccessful String
No description provided for @updateSuccessful.
no setter
uploadAndSyncData String
No description provided for @uploadAndSyncData.
no setter
uploadFinishedNoIdeaWhetherSuccessedOrFailedTho String
No description provided for @uploadFinishedNoIdeaWhetherSuccessedOrFailedTho.
no setter
uploading String
No description provided for @uploading.
no setter
usernameOrPasswordWasNotGiven String
No description provided for @usernameOrPasswordWasNotGiven.
no setter
validateDeletionPromtHeadline String
No description provided for @validateDeletionPromtHeadline.
no setter
validateDeletionPromtWarning String
No description provided for @validateDeletionPromtWarning.
no setter
validateDeletionSure String
No description provided for @validateDeletionSure.
no setter
weCanSendYouANotificationAboutTheSyncProgress String
No description provided for @weCanSendYouANotificationAboutTheSyncProgress.
no setter
wontFetchAnythingSinceNoOneIsLoggedIn String
No description provided for @wontFetchAnythingSinceNoOneIsLoggedIn.
no setter

Methods

defectInfo(Object info) String
No description provided for @defectInfo.
defectLocation(Object location) String
No description provided for @defectLocation.
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.