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

address String
No description provided for @address.
no setter
advancedPayments String
No description provided for @advancedPayments.
no setter
agency String
No description provided for @agency.
no setter
agree String
No description provided for @agree.
no setter
airline String
No description provided for @airline.
no setter
alternateResidence String
No description provided for @alternateResidence.
no setter
amount String
No description provided for @amount.
no setter
anEstimate String
No description provided for @anEstimate.
no setter
approved String
No description provided for @approved.
no setter
approvedQty String
No description provided for @approvedQty.
no setter
appTitle String
No description provided for @appTitle.
no setter
arrival String
No description provided for @arrival.
no setter
arrivalPayment String
No description provided for @arrivalPayment.
no setter
attendees String
No description provided for @attendees.
no setter
back String
No description provided for @back.
no setter
bdManufacturer String
No description provided for @bdManufacturer.
no setter
billable String
No description provided for @billable.
no setter
billableReason String
No description provided for @billableReason.
no setter
budget String
No description provided for @budget.
no setter
budgetAccount String
No description provided for @budgetAccount.
no setter
business String
No description provided for @business.
no setter
buyer String
No description provided for @buyer.
no setter
buyType String
No description provided for @buyType.
no setter
cancel String
No description provided for @cancel.
no setter
carClass String
No description provided for @carClass.
no setter
carRentals String
No description provided for @carRentals.
no setter
cash String
No description provided for @cash.
no setter
cashFlow String
No description provided for @cashFlow.
no setter
catalogNo String
No description provided for @catalogNo.
no setter
catalognum String
No description provided for @catalognum.
no setter
category String
No description provided for @category.
no setter
cdr String
No description provided for @cdr.
no setter
cdrApproved String
No description provided for @cdrApproved.
no setter
chat String
No description provided for @chat.
no setter
chatTyping String
No description provided for @chatTyping.
no setter
checkIn String
No description provided for @checkIn.
no setter
checkOut String
No description provided for @checkOut.
no setter
clear String
No description provided for @clear.
no setter
comments String
No description provided for @comments.
no setter
companion String
No description provided for @companion.
no setter
company String
No description provided for @company.
no setter
conferences String
No description provided for @conferences.
no setter
conflictErr String
No description provided for @conflictErr.
no setter
country String
No description provided for @country.
no setter
creditCard String
No description provided for @creditCard.
no setter
crmType String
No description provided for @crmType.
no setter
customer String
No description provided for @customer.
no setter
daily String
No description provided for @daily.
no setter
dashboard String
No description provided for @dashboard.
no setter
date String
No description provided for @date.
no setter
dateMove String
No description provided for @dateMove.
no setter
dateOfPayment String
No description provided for @dateOfPayment.
no setter
dates String
No description provided for @dates.
no setter
days String
No description provided for @days.
no setter
deleteAsk String
No description provided for @deleteAsk.
no setter
deliveryDate String
No description provided for @deliveryDate.
no setter
departure String
No description provided for @departure.
no setter
description String
No description provided for @description.
no setter
destination String
No description provided for @destination.
no setter
details String
No description provided for @details.
no setter
direction String
No description provided for @direction.
no setter
discard String
No description provided for @discard.
no setter
discardAsk String
No description provided for @discardAsk.
no setter
discount String
No description provided for @discount.
no setter
done String
No description provided for @done.
no setter
driverLicenseNumber String
No description provided for @driverLicenseNumber.
no setter
drop String
No description provided for @drop.
no setter
dropPlace String
No description provided for @dropPlace.
no setter
due String
No description provided for @due.
no setter
employee String
No description provided for @employee.
no setter
err String
No description provided for @err.
no setter
expenses String
No description provided for @expenses.
no setter
expenseType String
No description provided for @expenseType.
no setter
favorites String
No description provided for @favorites.
no setter
financials String
No description provided for @financials.
no setter
firstTime String
No description provided for @firstTime.
no setter
flexibleDates String
No description provided for @flexibleDates.
no setter
flightnum String
No description provided for @flightnum.
no setter
flights String
No description provided for @flights.
no setter
forCompanyEmployee String
No description provided for @forCompanyEmployee.
no setter
from String
No description provided for @from.
no setter
full String
No description provided for @full.
no setter
givenName String
No description provided for @givenName.
no setter
guests String
No description provided for @guests.
no setter
handled String
No description provided for @handled.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasReservation String
No description provided for @hasReservation.
no setter
high String
No description provided for @high.
no setter
hotel String
No description provided for @hotel.
no setter
hotels String
No description provided for @hotels.
no setter
humanRelated String
No description provided for @humanRelated.
no setter
invoiceDate String
No description provided for @invoiceDate.
no setter
invoiceQty String
No description provided for @invoiceQty.
no setter
isAgentsReservation String
No description provided for @isAgentsReservation.
no setter
isCapital String
No description provided for @isCapital.
no setter
isCustomerPaid String
No description provided for @isCustomerPaid.
no setter
isOrdered String
No description provided for @isOrdered.
no setter
isReleasePart String
No description provided for @isReleasePart.
no setter
isUrgent String
No description provided for @isUrgent.
no setter
itinerary String
No description provided for @itinerary.
no setter
justification String
No description provided for @justification.
no setter
kpi String
No description provided for @kpi.
no setter
level String
No description provided for @level.
no setter
licenseExpires String
No description provided for @licenseExpires.
no setter
licensenum String
No description provided for @licensenum.
no setter
limos String
No description provided for @limos.
no setter
loadMore String
No description provided for @loadMore.
no setter
localeName String
final
low String
No description provided for @low.
no setter
manufacturer String
No description provided for @manufacturer.
no setter
manufacturerPart String
No description provided for @manufacturerPart.
no setter
map String
No description provided for @map.
no setter
materialScrap String
No description provided for @materialScrap.
no setter
medium String
No description provided for @medium.
no setter
meetings String
No description provided for @meetings.
no setter
mobilePhone String
No description provided for @mobilePhone.
no setter
module String
No description provided for @module.
no setter
next String
No description provided for @next.
no setter
nights String
No description provided for @nights.
no setter
no String
No description provided for @no.
no setter
none String
No description provided for @none.
no setter
note String
No description provided for @note.
no setter
numOfGifts String
No description provided for @numOfGifts.
no setter
numOfMeals String
No description provided for @numOfMeals.
no setter
numOfParticipants String
No description provided for @numOfParticipants.
no setter
numOfTrips String
No description provided for @numOfTrips.
no setter
ocs String
No description provided for @ocs.
no setter
ok String
No description provided for @ok.
no setter
on String
No description provided for @on.
no setter
oneWay String
No description provided for @oneWay.
no setter
open String
No description provided for @open.
no setter
openQty String
No description provided for @openQty.
no setter
orderDate String
No description provided for @orderDate.
no setter
orderQty String
No description provided for @orderQty.
no setter
organization String
No description provided for @organization.
no setter
origin String
No description provided for @origin.
no setter
paidBy String
No description provided for @paidBy.
no setter
partial String
No description provided for @partial.
no setter
participants String
No description provided for @participants.
no setter
password String
No description provided for @password.
no setter
payDate String
No description provided for @payDate.
no setter
percent String
No description provided for @percent.
no setter
percentage String
No description provided for @percentage.
no setter
percentErr String
No description provided for @percentErr.
no setter
perDay String
No description provided for @perDay.
no setter
perDiem String
No description provided for @perDiem.
no setter
periodTotal String
No description provided for @periodTotal.
no setter
pickUp String
No description provided for @pickUp.
no setter
pickupDrop String
No description provided for @pickupDrop.
no setter
pickupPlace String
No description provided for @pickupPlace.
no setter
place String
No description provided for @place.
no setter
planned String
No description provided for @planned.
no setter
po String
No description provided for @po.
no setter
poDetails String
No description provided for @poDetails.
no setter
poInfoErr String
No description provided for @poInfoErr.
no setter
positionDenied String
No description provided for @positionDenied.
no setter
price String
No description provided for @price.
no setter
prItemQtyErr String
No description provided for @prItemQtyErr.
no setter
privateDays String
No description provided for @privateDays.
no setter
profile String
No description provided for @profile.
no setter
project String
No description provided for @project.
no setter
publicCloudServices String
No description provided for @publicCloudServices.
no setter
purchase String
No description provided for @purchase.
no setter
purchaseState String
No description provided for @purchaseState.
no setter
purchaseType String
No description provided for @purchaseType.
no setter
purpose String
No description provided for @purpose.
no setter
purposes String
No description provided for @purposes.
no setter
qty String
No description provided for @qty.
no setter
reason String
No description provided for @reason.
no setter
receiptDate String
No description provided for @receiptDate.
no setter
receiptQty String
No description provided for @receiptQty.
no setter
receiver String
No description provided for @receiver.
no setter
recent String
No description provided for @recent.
no setter
recentBudgets String
No description provided for @recentBudgets.
no setter
recentOcs String
No description provided for @recentOcs.
no setter
recentProjects String
No description provided for @recentProjects.
no setter
repeated String
No description provided for @repeated.
no setter
requests String
No description provided for @requests.
no setter
requestType String
No description provided for @requestType.
no setter
required String
No description provided for @required.
no setter
requiredErr String
No description provided for @requiredErr.
no setter
reservation String
No description provided for @reservation.
no setter
reservations String
No description provided for @reservations.
no setter
roundtrip String
No description provided for @roundtrip.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saved String
No description provided for @saved.
no setter
selfPaid String
No description provided for @selfPaid.
no setter
serverAddress String
No description provided for @serverAddress.
no setter
serverAddressErr String
No description provided for @serverAddressErr.
no setter
service String
No description provided for @service.
no setter
shipTo String
No description provided for @shipTo.
no setter
signed String
No description provided for @signed.
no setter
so String
No description provided for @so.
no setter
status String
No description provided for @status.
no setter
stayPeriods String
No description provided for @stayPeriods.
no setter
subCategory String
No description provided for @subCategory.
no setter
subject String
No description provided for @subject.
no setter
summary String
No description provided for @summary.
no setter
supplier String
No description provided for @supplier.
no setter
surname String
No description provided for @surname.
no setter
systemSpec String
No description provided for @systemSpec.
no setter
tax String
No description provided for @tax.
no setter
technicalBreakdown String
No description provided for @technicalBreakdown.
no setter
text String
No description provided for @text.
no setter
to String
No description provided for @to.
no setter
total String
No description provided for @total.
no setter
totalPerDiem String
No description provided for @totalPerDiem.
no setter
train String
No description provided for @train.
no setter
trains String
No description provided for @trains.
no setter
tryAgain String
No description provided for @tryAgain.
no setter
typeHere String
No description provided for @typeHere.
no setter
typing String
No description provided for @typing.
no setter
um String
No description provided for @um.
no setter
unitPrice String
No description provided for @unitPrice.
no setter
username String
No description provided for @username.
no setter
vacations String
No description provided for @vacations.
no setter
value String
No description provided for @value.
no setter
vendor String
No description provided for @vendor.
no setter
voucher String
No description provided for @voucher.
no setter
waitingList String
No description provided for @waitingList.
no setter
yes String
No description provided for @yes.
no setter
you String
No description provided for @you.
no setter
ytd String
No description provided for @ytd.
no setter

Methods

actionTaken(String number, String action) String
No description provided for @actionTaken.
dateRange(DateTime date1, DateTime date2) String
No description provided for @dateRange.
dateValue(DateTime date, String value) String
No description provided for @dateValue.
formatDate(DateTime date) String
No description provided for @formatDate.
invite(String form) String
No description provided for @invite.
itemsActionTaken(int count, String action) String
No description provided for @itemsActionTaken.
km(num count) String
A plural message
messagenum(String num, Object number) String
No description provided for @messagenum.
modifiedBy(String name) String
No description provided for @modifiedBy.
monthDateRange(DateTime day1, DateTime day2, DateTime date2) String
No description provided for @monthDateRange.
nameDate(String name, DateTime date) String
No description provided for @nameDate.
namePercent(String name, num value) String
No description provided for @namePercent.
nameValue(String name, String value) String
No description provided for @nameValue.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overlappingErr(Object place) String
No description provided for @overlappingErr.
rangeErr(DateTime date1, DateTime date2) String
No description provided for @rangeErr.
rate(num rate) String
No description provided for @rate.
startRangeErr(DateTime date) String
No description provided for @startRangeErr.
submitted(Object number) String
No description provided for @submitted.
toString() String
A string representation of this object.
inherited
yearDateRange(DateTime date1, DateTime date2) String
No description provided for @yearDateRange.

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.