TeamKitClientLocalizations class abstract

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

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

import 'team_localization/team_kit_client_localizations.dart';

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

Implementers

Constructors

TeamKitClientLocalizations(String locale)

Properties

hashCode int
The hash code for this object.
no setterinherited
localeName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
teamAddManagers String
No description provided for @teamAddManagers.
no setter
teamAdvancedDismiss String
No description provided for @teamAdvancedDismiss.
no setter
teamAdvancedQuit String
No description provided for @teamAdvancedQuit.
no setter
teamAitPermission String
No description provided for @teamAitPermission.
no setter
teamAllMember String
No description provided for @teamAllMember.
no setter
teamCancel String
No description provided for @teamCancel.
no setter
teamConfirm String
No description provided for @teamConfirm.
no setter
teamDefaultIcon String
No description provided for @teamDefaultIcon.
no setter
teamDismissAdvancedTeamQuery String
No description provided for @teamDismissAdvancedTeamQuery.
no setter
teamGroupIconTitle String
No description provided for @teamGroupIconTitle.
no setter
teamGroupInfoTitle String
No description provided for @teamGroupInfoTitle.
no setter
teamGroupMemberTitle String
No description provided for @teamGroupMemberTitle.
no setter
teamGroupNameTitle String
No description provided for @teamGroupNameTitle.
no setter
teamGroupQuit String
No description provided for @teamGroupQuit.
no setter
teamHistory String
No description provided for @teamHistory.
no setter
teamIconTitle String
No description provided for @teamIconTitle.
no setter
teamInfoTitle String
No description provided for @teamInfoTitle.
no setter
teamIntroduceTitle String
No description provided for @teamIntroduceTitle.
no setter
teamInviteOtherPermission String
No description provided for @teamInviteOtherPermission.
no setter
teamManage String
No description provided for @teamManage.
no setter
teamManager String
No description provided for @teamManager.
no setter
teamManagerEmpty String
No description provided for @teamManagerEmpty.
no setter
teamManagerManagers String
No description provided for @teamManagerManagers.
no setter
teamManagerRemoveFailed String
No description provided for @teamManagerRemoveFailed.
no setter
teamManagers String
No description provided for @teamManagers.
no setter
teamMark String
No description provided for @teamMark.
no setter
teamMemberEmpty String
No description provided for @teamMemberEmpty.
no setter
teamMemberRemove String
No description provided for @teamMemberRemove.
no setter
teamMemberRemoveContent String
No description provided for @teamMemberRemoveContent.
no setter
teamMemberRemoveFailed String
No description provided for @teamMemberRemoveFailed.
no setter
teamMemberSelect String
No description provided for @teamMemberSelect.
no setter
teamMemberTitle String
No description provided for @teamMemberTitle.
no setter
teamMessageTip String
No description provided for @teamMessageTip.
no setter
teamMsgAitAllPrivilegeIsAll String
No description provided for @teamMsgAitAllPrivilegeIsAll.
no setter
teamMsgAitAllPrivilegeIsOwner String
No description provided for @teamMsgAitAllPrivilegeIsOwner.
no setter
teamMute String
No description provided for @teamMute.
no setter
teamMyNicknameTitle String
No description provided for @teamMyNicknameTitle.
no setter
teamNameMustNotEmpty String
No description provided for @teamNameMustNotEmpty.
no setter
teamNameTitle String
No description provided for @teamNameTitle.
no setter
teamNeedAgreedWhenBeInvitedPermission String
No description provided for @teamNeedAgreedWhenBeInvitedPermission.
no setter
teamNoOperatePermission String
No description provided for @teamNoOperatePermission.
no setter
teamNoPermission String
No description provided for @teamNoPermission.
no setter
teamOwner String
No description provided for @teamOwner.
no setter
teamOwnerManager String
No description provided for @teamOwnerManager.
no setter
teamPermissionDeny String
No description provided for @teamPermissionDeny.
no setter
teamQuitAdvancedTeamQuery String
No description provided for @teamQuitAdvancedTeamQuery.
no setter
teamQuitGroupTeamQuery String
No description provided for @teamQuitGroupTeamQuery.
no setter
teamRemoveConfirm String
No description provided for @teamRemoveConfirm.
no setter
teamRemoveConfirmContent String
No description provided for @teamRemoveConfirmContent.
no setter
teamSave String
No description provided for @teamSave.
no setter
teamSearchMember String
No description provided for @teamSearchMember.
no setter
teamSelectMembers String
No description provided for @teamSelectMembers.
no setter
teamSessionPin String
No description provided for @teamSessionPin.
no setter
teamSettingFailed String
No description provided for @teamSettingFailed.
no setter
teamSettingTitle String
No description provided for @teamSettingTitle.
no setter
teamUpdateIcon String
No description provided for @teamUpdateIcon.
no setter
teamUpdateInfoPermission String
No description provided for @teamUpdateInfoPermission.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
teamManagerLimit(String number) String
No description provided for @teamManagerLimit.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

of(BuildContext context) TeamKitClientLocalizations?

Constants

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