ConversationKitClientLocalizations class abstract

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

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

import 'conversation_localization/conversation_kit_client_localizations.dart';

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

Implementers

Properties

addFriend String
No description provided for @addFriend.
no setter
addFriendSearchEmptyTips String
No description provided for @addFriendSearchEmptyTips.
no setter
addFriendSearchHint String
No description provided for @addFriendSearchHint.
no setter
audioMessageType String
No description provided for @audioMessageType.
no setter
cancelStickTitle String
No description provided for @cancelStickTitle.
no setter
cancelTitle String
No description provided for @cancelTitle.
no setter
chatHistoryBrief String
No description provided for @chatHistoryBrief.
no setter
chatMessageNonsupportType String
No description provided for @chatMessageNonsupportType.
no setter
conversationEmpty String
No description provided for @conversationEmpty.
no setter
conversationNetworkErrorTip String
No description provided for @conversationNetworkErrorTip.
no setter
conversationTitle String
No description provided for @conversationTitle.
no setter
createAdvancedTeam String
No description provided for @createAdvancedTeam.
no setter
createAdvancedTeamSuccess String
No description provided for @createAdvancedTeamSuccess.
no setter
createGroupTeam String
No description provided for @createGroupTeam.
no setter
deleteTitle String
No description provided for @deleteTitle.
no setter
fileMessageType String
No description provided for @fileMessageType.
no setter
hashCode int
The hash code for this object.
no setterinherited
imageMessageType String
No description provided for @imageMessageType.
no setter
localeName String
final
locationMessageType String
No description provided for @locationMessageType.
no setter
notificationMessageType String
No description provided for @notificationMessageType.
no setter
recentTitle String
No description provided for @recentTitle.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
somebodyAitMe String
No description provided for @somebodyAitMe.
no setter
stickTitle String
No description provided for @stickTitle.
no setter
sureTitle String
No description provided for @sureTitle.
no setter
tipMessageType String
No description provided for @tipMessageType.
no setter
videoMessageType String
No description provided for @videoMessageType.
no setter

Methods

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

Operators

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

Static Methods

of(BuildContext context) ConversationKitClientLocalizations?

Constants

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