Implementing Multi-Language Support in Dart

mail@pastecode.io avatar
unknown
dart
5 months ago
17 kB
1
Indexable
import 'BaseLanguage.dart';

class LanguageEn extends BaseLanguage {
  @override
  String get appName => 'Mighty Driver';

  @override
  String get thisFieldRequired => 'This field is required';

  @override
  String get email => 'Email';

  @override
  String get password => 'Password';

  @override
  String get forgotPassword => 'Forgot Password?';

  @override
  String get logIn => 'Log In';

  @override
  String get orLogInWith => 'Or LogIn With';

  @override
  String get donHaveAnAccount => 'Don\'t have an account?';

  @override
  String get signUp => 'Sign Up';

  @override
  String get firstName => 'First Name';

  @override
  String get lastName => 'Last Name';

  @override
  String get userName => 'Username';

  @override
  String get phoneNumber => 'Phone Number';

  @override
  String get changePassword => 'Change Password';

  @override
  String get oldPassword => 'Old Password';

  @override
  String get newPassword => 'New Password';

  @override
  String get confirmPassword => 'Confirm Password';

  @override
  String get passwordDoesNotMatch => 'Password does not match';

  @override
  String get passwordInvalid => 'Minimum password length should be 8';

  @override
  String get yes => 'Yes';

  @override
  String get no => 'No';

  @override
  String get writeMessage => 'Write Message....';

  @override
  String get enterTheEmailAssociatedWithYourAccount => 'Enter the email associated with your account';

  @override
  String get submit => 'Submit';

  @override
  String get language => 'Language';

  @override
  String get notification => 'Notification';

  @override
  String get useInCaseOfEmergency => 'USE IN CASE OF EMERGENCY';

  @override
  String get notifyAdmin => 'Notify Admin';

  @override
  String get notifiedSuccessfully => 'Notified Successfully';

  @override
  String get complain => 'Complain';

  @override
  String get pleaseEnterSubject => 'Please enter subject';

  @override
  String get writeDescription => 'Write a description....';

  @override
  String get saveComplain => 'Save Complain';

  @override
  String get address => 'Address';

  @override
  String get updateProfile => 'Update Profile';

  @override
  String get notChangeUsername => 'You cannot change username';

  @override
  String get notChangeEmail => 'You cannot Change email id';

  @override
  String get profileUpdateMsg => 'Profile Updated Successfully';

  @override
  String get emergencyContact => 'Emergency Contact';

  @override
  String get areYouSureYouWantDeleteThisNumber => 'Are you sure you want delete this number?';

  @override
  String get addContact => 'Add Contact';

  @override
  String get save => 'Save';

  @override
  String get availableBalance => 'Available Balance';

  @override
  String get recentTransactions => 'Recent Transactions';

  @override
  String get moneyDeposited => 'Money Deposited';

  @override
  String get addMoney => 'Add Money';

  @override
  String get cancel => 'Cancel';

  @override
  String get pleaseSelectAmount => 'Please select amount';

  @override
  String get amount => 'Amount';

  @override
  String get confirm => 'Confirm';

  @override
  String get wallet => 'Wallet';

  @override
  String get paymentDetail => 'Payment Detail';

  @override
  String get rideId => 'Ride Id';

  @override
  String get viewHistory => 'View History';

  @override
  String get paymentDetails => 'Payment Details';

  @override
  String get paymentType => 'Payment Type';

  @override
  String get paymentStatus => 'Payment Status';

  @override
  String get priceDetail => 'Price Details';

  @override
  String get basePrice => 'Base price';

  @override
  String get distancePrice => 'Distance price';

  @override
  String get waitTime => 'Wait time';

  @override
  String get extraCharges => 'Extra charges';

  @override
  String get couponDiscount => 'Coupon discount';

  @override
  String get total => 'Total';

  @override
  String get payment => 'Payment';

  @override
  String get cash => 'Cash';

  @override
  String get waitingForDriverConformation => 'WAITING FOR RIDER TO CONFIRMATION';

  @override
  String get tip => 'Tips';

  @override
  String get pay => 'Pay';

  @override
  String get howWasYourRide => 'How was your Ride?';

  @override
  String get addReviews => 'Add Reviews';

  @override
  String get writeYourComments => 'Write your reviews....';

  @override
  String get continueD => 'Continue';

  @override
  String get detailScreen => 'Ride Detail';

  @override
  String get rideHistory => 'Ride History';

  @override
  String get emergencyContacts => 'Emergency Contacts';

  @override
  String get logOut => 'Logout';

  @override
  String get areYouSureYouWantToLogoutThisApp => 'Are you sure you want to logout this app?';

  @override
  String get destinationLocation => 'Destination location';

  @override
  String get profile => 'Profile';

  @override
  String get privacyPolicy => 'Privacy Policy';

  @override
  String get helpSupport => 'Help & Support';

  @override
  String get termsConditions => 'Terms & Conditions';

  @override
  String get aboutUs => 'About Us';

  @override
  String get rides => 'Rides';

  @override
  String get sendOTP => 'Send OTP';

  @override
  String get carModel => 'Car Model';

  @override
  String get sos => 'SOS';

  @override
  String get signInUsingYourMobileNumber => 'Sign In Using Your\nMobile Number';

  @override
  String get accepted => 'Accepted';

  @override
  String get arriving => 'Arriving';

  @override
  String get arrived => 'Arrived';

  @override
  String get cancelled => 'Cancelled';

  @override
  String get completed => 'Completed';

  @override
  String get pleaseEnableLocationPermission => 'Please enable location Permission';

  @override
  String get pending => "Pending";

  @override
  String get failed => "Failed";

  @override
  String get paid => "Paid";

  @override
  String get male => "Male";

  @override
  String get female => "Female";

  @override
  String get other => "Other";

  @override
  String get addExtraCharges => "Add Extra Charges";

  @override
  String get enterAmount => "Enter amount";

  @override
  String get pleaseAddedAmount => "Please added amount";

  @override
  String get title => "Title";

  @override
  String get charges => "Charges";

  @override
  String get saveCharges => "Save Charges";

  @override
  String get bankName => 'Bank Name';

  @override
  String get bankCode => 'Bank Code';

  @override
  String get accountHolderName => 'Account Holder Name';

  @override
  String get accountNumber => 'Account Number';

  @override
  String get updateBankDetail => 'Update Bank Detail';

  @override
  String get addBankDetail => 'Add Bank Detail';

  @override
  String get bankInfoUpdateSuccessfully => 'Bank info update successfully';

  @override
  String get youAreOnlineNow => 'You are online now';

  @override
  String get youAreOfflineNow => 'You are offline now';

  @override
  String get requests => 'Request';

  @override
  String get areYouSureYouWantToCancelThisRequest => 'Are you sure you want to cancel this request?';

  @override
  String get decline => 'Decline';

  @override
  String get accept => 'Accept';

  @override
  String get areYouSureYouWantToAcceptThisRequest => 'Are you sure you want to accept this request?';

  @override
  String get call => 'Call';

  @override
  String get areYouSureYouWantToArriving => 'Are you sure you want to arriving?';

  @override
  String get areYouSureYouWantToArrived => 'Are you sure you want to arrived?';

  @override
  String get enterOtp => 'Enter OTP';

  @override
  String get pleaseEnterValidOtp => 'Please enter valid otp';

  @override
  String get pleaseSelectService => 'Please Select Service';

  @override
  String get userDetail => 'User Detail';

  @override
  String get selectService => 'Select Service';

  @override
  String get carColor => 'Car Color';

  @override
  String get carPlateNumber => 'Car Plate Number';

  @override
  String get carProductionYear => 'Car Production Year';

  @override
  String get withDraw => 'Withdraw';

  @override
  String get withdrawHistory => 'Withdraw History';

  @override
  String get approved => 'Approved';

  @override
  String get requested => 'Requested';

  @override
  String get updateVehicle => 'Update Vehicle';

  @override
  String get userNotApproveMsg => 'Your profile is under review. Wait some time or contact to your administrator.';

  @override
  String get uploadFileConfirmationMsg => 'Are you sure you want to upload this file?';

  @override
  String get selectDocument => 'Select Document';

  @override
  String get addDocument => 'Add Document';

  @override
  String get areYouSureYouWantToDeleteThisDocument => 'Are you sure you want to delete this document?';

  @override
  String get expireDate => 'Expire Date';

  @override
  String get goDashBoard => 'Go DashBoard';

  @override
  String get deleteAccount => 'Delete Account';

  @override
  String get account => 'Account ';

  @override
  String get areYouSureYouWantPleaseReadAffect => 'Are you sure you want to delete your account? Please read how account deletion will affect.';

  @override
  String get deletingAccountEmail =>
      'Deleting your account removes personal information from our database. Your email becomes permanently reserved and same email cannot be re-used to register a new account';

  @override
  String get areYouSureYouWantDeleteAccount => 'Are you sure you want to delete Account?';

  @override
  String get yourInternetIsNotWorking => 'Your Internet is not working';

  @override
  String get allow => 'Allow';

  @override
  String get mostReliableMightyDriverApp => 'Most Reliable Mighty Driver App';

  @override
  String get toEnjoyYourRideExperiencePleaseAllowPermissions => 'To enjoy your ride experience\nPlease allow us the following permissions';

  @override
  String get cashCollected => 'Cash Collected';

  @override
  String get areYouSureCollectThisPayment => 'Are you sure collect this payment?';

  @override
  String get txtURLEmpty => "URL is empty";

  @override
  String get lblFollowUs => "Follow Us";

  @override
  String get bankInfo => "Bank Info";

  @override
  String get duration => 'Duration';

  @override
  String get moneyDebit => 'Money Debit';

  @override
  String get vehicleInfo => 'Vehicle Info';

  @override
  String get demoMsg => 'Tester role not allowed to perform this action';

  @override
  String get youCannotChangePhoneNumber => 'You cannot change Phone Number';

  @override
  String get offLine => 'Offline';

  @override
  String get online => 'Online';

  @override
  String get aboutRider => 'About Rider';

  @override
  String get pleaseEnterMessage => 'Please Enter Message';

  @override
  String get pleaseSelectRating => 'Please select rating';

  @override
  String get serviceInfo => 'Service Info';

  @override
  String get youCannotChangeService => 'You Cannot Change service';

  @override
  String get vehicleInfoUpdateSucessfully => 'Vehicle info update sucessfully';

  @override
  String get isMandatoryDocument => '* is a mandatory document.';

  @override
  String get someRequiredDocumentAreNotUploaded => 'Some required document are not uploaded. Please upload all required documents.';

  @override
  String get areYouCertainOffline => 'Are you certain you want to go offline?';

  @override
  String get areYouCertainOnline => 'Are you certain you want to go online?';

  @override
  String get pleaseAcceptTermsOfServicePrivacyPolicy => 'Please accept Terms of service & Privacy Policy';

  @override
  String get rememberMe => 'Remember Me';

  @override
  String get agreeToThe => 'I agree to the';

  @override
  String get invoice => 'Invoice';

  @override
  String get riderInformation => 'RIDER INFORMATION';

  @override
  String get customerName => 'Customer Name';

  @override
  String get sourceLocation => 'Source Location';

  @override
  String get invoiceNo => 'Invoice No';

  @override
  String get invoiceDate => 'Invoice Date';

  @override
  String get orderedDate => 'Ordered Date';

  @override
  String get totalEarning => 'Total Earning';

  @override
  String get pleaseSelectFromDateAndToDate => 'Please select from date and to date';

  @override
  String get fromDate => 'From Date';

  @override
  String get toDate => 'To Date';

  @override
  String get ride => 'Ride';

  @override
  String get weeklyOrderCount => 'Weekly Order Count';

  @override
  String get distance => 'Distance';

  @override
  String get iAgreeToThe => 'I agree to the';

  @override
  String get today => 'Today';

  @override
  String get weekly => 'Weekly';

  @override
  String get report => 'Report';

  @override
  String get earning => 'Earning';

  @override
  String get todayEarning => 'Today Earning';

  @override
  String get available => 'Available';

  @override
  String get notAvailable => 'Not Available';

  @override
  String get youWillReceiveNewRidersAndNotifications => 'You will receive new riders and notifications';

  @override
  String get youWillNotReceiveNewRidersAndNotifications => 'You will not receive new riders and notifications';

  @override
  String get yourAccountIs => 'Your account is';

  @override
  String get pleaseContactSystemAdministrator => 'Please contact system administrator';

  @override
  String get youCanNotThisActionsPerformBecauseYourCurrentRideIsNotCompleted => 'You can not this actions perform,because your current ride is not completed';

  @override
  String get applyExtraCharges => 'Apply extra charges';

  @override
  String get pleaseSelectExtraCharges => 'Please select extra charges';

  @override
  String get unsupportedPlatForm => 'Unsupported platform';

  @override
  String get description => 'Description';

  @override
  String get price => 'Price';

  @override
  String get gallery => 'Gallery';

  @override
  String get camera => 'Camera';

  @override
  String get locationNotAvailable => 'Location Not Available';

  @override
  String get bankInfoNotFound => 'Bank info not found';

  @override
  String get minimum => 'Minimum';

  @override
  String get maximum => 'Maximum';

  @override
  String get required => 'required';

  @override
  String get paymentFailed => 'Payment Failed';

  @override
  String get checkConsoleForError => 'Check console for error';

  @override
  String get transactionFailed => 'Transaction Failed';

  @override
  String get transactionSuccessful => 'Transaction Successful';

  @override
  String get payWithCard => 'Pay with Card';

  @override
  String get success => 'Success';

  @override
  String get declined => 'Declined';

  @override
  String get endRide => 'End Ride';

  @override
  String get startRide => 'Start Ride';

  @override
  String get invoiceCapital => 'INVOICE';

  @override
  String get validateOtp => 'Validate OTP';

  @override
  String get otpCodeHasBeenSentTo => 'OTP Code has been sent to';

  @override
  String get pleaseEnterOtp => 'Please enter OTP below to verify your mobile number.';

  @override
  String get selectSources => 'Select Sources';

  @override
  String get file => 'File';

  @override
  String get earnings => 'Earnings';

  @override
  String get documents => 'Documents';

  @override
  String get settings => 'Settings';

  @override
  String get finishMsg => 'Are you sure the ride is finished?';

  @override
  String get extraFees => 'Apply Extra Fees';

  @override
  String get skip => 'Skip';

  @override
  String get noteSelectFromDate => 'Note: Select From To Date';

  @override
  String get chatWithAdmin => 'Chat with Admin';

  @override
  String get startRideAskOTP => 'To start the ride, ask the client for their OTP.';

  @override
  String get lessWalletAmountMsg => "You can't ride because your wallet balance is below the limit.  Add money to your wallet now to continue using the driver app";

  @override
  String get via => 'Via';

  @override
  String get status => 'Status';

  @override
  String get minutePrice => 'Minute price';

  @override
  String get waitingTimePrice => 'Waiting time price';

  @override
  String get additionalFees => 'Additional fees';

  @override
  String get minimumFees => 'Minimum fees';

  @override
  String get tips => 'Tips';

  @override
  String get welcome => 'Welcome,';

  @override
  String get signcontinue => 'Sign in to continue ';
  @override String get chooseMap => 'Choose Map';
  @override String get rideFor => 'Ride For';
  @override String get updateVehicleInfo => 'Update vehicle info';
  @override String get ridingPerson => 'Riding Person';
}
Leave a Comment