InnerLibsLocalizations class abstract
Callers can lookup localized strings with an instance of InnerLibsLocalizations
returned by InnerLibsLocalizations.of(context)
.
Applications need to include InnerLibsLocalizations.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: InnerLibsLocalizations.localizationsDelegates,
supportedLocales: InnerLibsLocalizations.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 InnerLibsLocalizations.supportedLocales property.
- Implementers
Constructors
- InnerLibsLocalizations(String locale)
Properties
- add → String
-
Add
no setter
- app → String
-
App
no setter
- apply → String
-
Apply
no setter
- appName → String
-
App Name
no setter
- apps → String
-
Apps
no setter
- appSettings → String
-
App Settings
no setter
- back → String
-
Back
no setter
- calculate → String
-
Calculate
no setter
- call → String
-
Call
no setter
- cancel → String
-
Cancel
no setter
- categories → String
-
Categories
no setter
- category → String
-
Category
no setter
- century → String
-
Century
no setter
- city → String
-
City
no setter
- clear → String
-
Clear
no setter
- close → String
-
Close
no setter
- collect → String
-
Collect
no setter
- collects → String
-
Collects
no setter
- color → String
-
Color
no setter
- command → String
-
Command
no setter
- commands → String
-
Commands
no setter
- completed → String
-
Completed
no setter
- confirm → String
-
Confirm
no setter
- contact → String
-
Contact
no setter
- contacts → String
-
Contacts
no setter
- country → String
-
Country
no setter
- create → String
-
Create
no setter
- darkMode → String
-
Dark Mode
no setter
- date → String
-
Date
no setter
- dateOutOfRange → String
-
Date out of range
no setter
- dateTimeFormat → String
-
Date Time Format
no setter
- day → String
-
Day
no setter
- dayMode → String
-
Day Mode
no setter
- days → String
-
Days
no setter
- decade → String
-
Decade
no setter
- decades → String
-
Decades
no setter
- defaultWord → String
-
Default
no setter
- delete → String
-
Delete
no setter
- device → String
-
Device
no setter
- directories → String
-
Directories
no setter
- directory → String
-
Directory
no setter
- disable → String
-
Disable
no setter
- disabled → String
-
Disabled
no setter
- dock → String
-
Dock
no setter
- download → String
-
Download
no setter
- downloaded → String
-
Downloaded
no setter
- downloading → String
-
Downloading
no setter
- edit → String
-
Edit
no setter
- empty → String
-
Empty
no setter
- emulate → String
-
Emulate
no setter
- emulator → String
-
Emulator
no setter
- emulators → String
-
Emulators
no setter
- enable → String
-
Enable
no setter
- enabled → String
-
Enabled
no setter
- error → String
-
Error
no setter
- estate → String
-
Estate
no setter
- failed → String
-
Failed
no setter
- favorite → String
-
Favorite
no setter
- favorites → String
-
Favorites
no setter
- file → String
-
File
no setter
- fileDate → String
-
File Date
no setter
- fileName → String
-
File Name
no setter
- fileNotFound → String
-
File not found
no setter
- fileOwner → String
-
File Owner
no setter
- filePermissions → String
-
File Permissions
no setter
- files → String
-
Files
no setter
- fileSize → String
-
File Size
no setter
- fileType → String
-
File Type
no setter
- find → String
-
Find
no setter
- finish → String
-
Finish
no setter
- finished → String
-
Finished
no setter
- folder → String
-
Folder
no setter
- folderName → String
-
Folder Name
no setter
- follow → String
-
Follow
no setter
- game → String
-
Game
no setter
- games → String
-
Games
no setter
- grid → String
-
Grid
no setter
- gridSize → String
-
Grid Size
no setter
- gridView → String
-
Grid View
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → String
-
Height
no setter
- hide → String
-
Hide
no setter
- history → String
-
History
no setter
- hour → String
-
Hour
no setter
- hours → String
-
Hours
no setter
- info → String
-
Info
no setter
- install → String
-
Install
no setter
- libraries → String
-
Libraries
no setter
- library → String
-
Library
no setter
- lightMode → String
-
Light Mode
no setter
- list → String
-
List
no setter
- listView → String
-
List View
no setter
- loading → String
-
Loading
no setter
- localeName → String
-
final
- login → String
-
Login
no setter
- logout → String
-
Logout
no setter
- main → String
-
Main
no setter
- mainColor → String
-
Main Color
no setter
- map → String
-
Map
no setter
- mapView → String
-
Map View
no setter
- millennium → String
-
Millennium
no setter
- millenniums → String
-
Millenniuns
no setter
- millisecond → String
-
Millisecond
no setter
- milliseconds → String
-
Milliseconds
no setter
- minute → String
-
Minute
no setter
- minutes → String
-
Minutes
no setter
- month → String
-
Month
no setter
- months → String
-
Months
no setter
- name → String
-
Name
no setter
- next → String
-
Next
no setter
- night → String
-
Night
no setter
- nightMode → String
-
Night Mode
no setter
- no → String
-
No
no setter
- notFound → String
-
Not Found
no setter
- number → String
-
Number
no setter
- ok → String
-
OK
no setter
- open → String
-
Open
no setter
- overlay → String
-
Overlay
no setter
- overlayColor → String
-
Overlay Color
no setter
- overlayOpacity → String
-
Overlay Opacity
no setter
- overlays → String
-
Overlays
no setter
- owner → String
-
Owner
no setter
- password → String
-
Password
no setter
- pause → String
-
Pause
no setter
- paused → String
-
Paused
no setter
- pending → String
-
Pending
no setter
- phone → String
-
Phone
no setter
- play → String
-
Play
no setter
- playing → String
-
Playing
no setter
- previous → String
-
Previous
no setter
- register → String
-
Register
no setter
- removeFromfavorites → String
-
Remove from favorites
no setter
- results → String
-
Results
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- save → String
-
Save
no setter
- saved → String
-
Saved
no setter
- sdCard → String
-
SD Card
no setter
- search → String
-
Search
no setter
- second → String
-
Second
no setter
- seconds → String
-
Seconds
no setter
- send → String
-
Send
no setter
- settings → String
-
Settings
no setter
-
Share
no setter
- show → String
-
Show
no setter
- size → String
-
Size
no setter
- storage → String
-
Storage
no setter
- storageAvailable → String
-
Storage Available
no setter
- storageDevices → String
-
Storage Devices
no setter
- storageFree → String
-
Storage Free
no setter
- storageSize → String
-
Storage Size
no setter
- storageUsed → String
-
Storage Used
no setter
- success → String
-
Success
no setter
- table → String
-
Table
no setter
- tableView → String
-
Table View
no setter
- theme → String
-
Theme
no setter
- themeColor → String
-
Theme Color
no setter
- themeMode → String
-
Theme Mode
no setter
- to → String
-
To
no setter
- undock → String
-
Undock
no setter
- unfavorite → String
-
Unfavorite
no setter
- unfollow → String
-
Unfollow
no setter
- uninstall → String
-
Uninstall
no setter
- unknown → String
-
Unknown
no setter
- username → String
-
Username
no setter
- value → String
-
Value
no setter
- view → String
-
View
no setter
- viewType → String
-
View Type
no setter
- wallpaper → String
-
Wallpaper
no setter
- wallpaperFadeTime → String
-
Wallpaper Fade Time
no setter
- wallpaperInterval → String
-
Wallpaper Interval
no setter
- warning → String
-
Warning
no setter
- week → String
-
Week
no setter
- weeks → String
-
Weeks
no setter
- width → String
-
Width
no setter
- year → String
-
Year
no setter
- years → String
-
Years
no setter
- yes → String
-
Yes
no setter
- you → String
-
You
no setter
- your → String
-
Your
no setter
Methods
-
addItem(
String item) → String - No description provided for @addItem.
-
addNewItem(
String item) → String - Add New {item}
-
addTo(
String item) → String - No description provided for @addTo.
-
applyItem(
String item) → String - No description provided for @applyItem.
-
applyItemIn(
String item, String location) → String - No description provided for @applyItemIn.
-
applyItemToItem(
String item1, String item2) → String - No description provided for @applyItemToItem.
-
calltoItem(
String item) → String - No description provided for @calltoItem.
-
cancelItem(
String item) → String - No description provided for @cancelItem.
-
closeItem(
String item) → String - No description provided for @closeItem.
-
confirmDelete(
String item) → String - No description provided for @confirmDelete.
-
confirmDeleteMultiple(
int count, String plural, String singular) → String - No description provided for @confirmDeleteMultiple.
-
couldNotFindItem(
String item) → String - No description provided for @couldNotFindItem.
-
couldNotFindItemWith(
String item, String property) → String - No description provided for @couldNotFindItemWith.
-
deletedItem(
String item) → String - No description provided for @deletedItem.
-
deletedItemFrom(
String item, String location) → String - No description provided for @deletedItemFrom.
-
disabledItem(
String item) → String - No description provided for @disabledItem.
-
disabledItemIn(
String item, String location) → String - No description provided for @disabledItemIn.
-
disableItem(
String item) → String - No description provided for @disableItem.
-
dockItem(
String item) → String - No description provided for @dockItem.
-
downloadItem(
String item) → String - No description provided for @downloadItem.
-
enabledItem(
String item) → String - No description provided for @enabledItem.
-
enabledItemIn(
String item, String location) → String - No description provided for @enabledItemIn.
-
enableItem(
String item) → String - No description provided for @enableItem.
-
favoriteItem(
String item) → String - No description provided for @favoriteItem.
-
findIn(
String item) → String - No description provided for @findIn.
-
findItem(
String item) → String - No description provided for @findItem.
-
followItem(
String item) → String - No description provided for @followItem.
-
installItem(
String item) → String - No description provided for @installItem.
-
invalidItem(
String item) → String - No description provided for @invalidItem.
-
itemDeletedSuccessfully(
String item) → String - No description provided for @itemDeletedSuccessfully.
-
itemLibrary(
String item) → String - No description provided for @itemLibrary.
-
itemNotFound(
String item) → String - No description provided for @itemNotFound.
-
itemNotFoundIn(
String item, String location) → String - No description provided for @itemNotFoundIn.
-
itemSavedSuccessfully(
String item) → String - No description provided for @itemSavedSuccessfully.
-
itemUpdatedSuccessfully(
String item) → String - No description provided for @itemUpdatedSuccessfully.
-
loadingItem(
String item) → String - Loading {item}...
-
newItem(
String item) → String - No description provided for @newItem.
-
newItemToItem(
String item1, String item2) → String - No description provided for @newItemToItem.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openIn(
String item) → String - No description provided for @openIn.
-
openItem(
String item) → String - No description provided for @openItem.
-
openItemIn(
String item, String location) → String - No description provided for @openItemIn.
-
pauseItem(
String item) → String - No description provided for @pauseItem.
-
playItem(
String item) → String - No description provided for @playItem.
-
recentItem(
String item) → String - No description provided for @recentItem.
-
recentItems(
String items) → String - No description provided for @recentItems.
-
removeFrom(
String item) → String - No description provided for @removeFrom.
-
searchFor(
String item) → String - No description provided for @searchFor.
-
searchForIn(
String item, String location) → String - No description provided for @searchForIn.
-
sendItemToItem(
String item1, String item2) → String - No description provided for @sendItemToItem.
-
sendtoItem(
String item) → String - No description provided for @sendtoItem.
- No description provided for @shareItem.
-
toItem(
String item) → String - No description provided for @toItem.
-
toString(
) → String -
A string representation of this object.
inherited
-
undockItem(
String item) → String - No description provided for @undockItem.
-
unfavoriteItem(
String item) → String - No description provided for @unfavoriteItem.
-
unfollowItem(
String item) → String - No description provided for @unfollowItem.
-
uninstallItem(
String item) → String - No description provided for @uninstallItem.
-
unknownItem(
String item) → String - No description provided for @unknownItem.
-
updateItem(
String item) → String - No description provided for @updateItem.
-
yourItem(
String item) → String - No description provided for @yourItem.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → InnerLibsLocalizations
Constants
-
delegate
→ const LocalizationsDelegate<
InnerLibsLocalizations> -
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.