OpenlistNativeUiLocalizations class abstract

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

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

import 'generated/openlist_native_ui_localizations.dart';

return MaterialApp(
  localizationsDelegates: OpenlistNativeUiLocalizations.localizationsDelegates,
  supportedLocales: OpenlistNativeUiLocalizations.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 OpenlistNativeUiLocalizations.supportedLocales property.

Implementers

Constructors

OpenlistNativeUiLocalizations(String locale)

Properties

about String
No description provided for @about.
no setter
account_and_safety String
No description provided for @account_and_safety.
no setter
add String
No description provided for @add.
no setter
addStorage String
No description provided for @addStorage.
no setter
agree String
No description provided for @agree.
no setter
aListWebLogin String
No description provided for @aListWebLogin.
no setter
app_info String
No description provided for @app_info.
no setter
app_name String
No description provided for @app_name.
no setter
app_title String
No description provided for @app_title.
no setter
cancel String
No description provided for @cancel.
no setter
copiedToClipboard String
No description provided for @copiedToClipboard.
no setter
delete String
No description provided for @delete.
no setter
description String
No description provided for @description.
no setter
disable String
No description provided for @disable.
no setter
docs String
No description provided for @docs.
no setter
download String
No description provided for @download.
no setter
downloadThisFile String
No description provided for @downloadThisFile.
no setter
enable String
No description provided for @enable.
no setter
exit String
No description provided for @exit.
no setter
feedback_channels String
No description provided for @feedback_channels.
no setter
files String
No description provided for @files.
no setter
hashCode int
The hash code for this object.
no setterinherited
icp_number String
No description provided for @icp_number.
no setter
localeName String
final
login String
No description provided for @login.
no setter
login_failed String
No description provided for @login_failed.
no setter
logout String
No description provided for @logout.
no setter
me String
No description provided for @me.
no setter
mobile_number String
No description provided for @mobile_number.
no setter
modify String
No description provided for @modify.
no setter
modify_password String
No description provided for @modify_password.
no setter
name String
No description provided for @name.
no setter
new_value String
No description provided for @new_value.
no setter
ok String
No description provided for @ok.
no setter
online_feedback String
No description provided for @online_feedback.
no setter
package_name String
No description provided for @package_name.
no setter
password String
No description provided for @password.
no setter
please_input_new_value String
No description provided for @please_input_new_value.
no setter
port String
No description provided for @port.
no setter
privacy_policy String
No description provided for @privacy_policy.
no setter
register String
No description provided for @register.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings String
No description provided for @settings.
no setter
share String
No description provided for @share.
no setter
status String
No description provided for @status.
no setter
storages String
No description provided for @storages.
no setter
success String
No description provided for @success.
no setter
system String
No description provided for @system.
no setter
tasks String
No description provided for @tasks.
no setter
user_email String
No description provided for @user_email.
no setter
user_info String
No description provided for @user_info.
no setter
user_mobile String
No description provided for @user_mobile.
no setter
username String
No description provided for @username.
no setter
version String
No description provided for @version.
no setter
version_sn String
No description provided for @version_sn.
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) OpenlistNativeUiLocalizations

Constants

delegate → const LocalizationsDelegate<OpenlistNativeUiLocalizations>
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.