// GENERATED CODE - DO NOT MODIFY BY HAND import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import 'intl/messages_all.dart'; // ************************************************************************** // Generator: Flutter Intl IDE plugin // Made by Localizely // ************************************************************************** // ignore_for_file: non_constant_identifier_names, lines_longer_than_80_chars // ignore_for_file: join_return_with_assignment, prefer_final_in_for_each // ignore_for_file: avoid_redundant_argument_values, avoid_escaping_inner_quotes class S { S(); static S? _current; static S get current { assert(_current != null, 'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.'); return _current!; } static const AppLocalizationDelegate delegate = AppLocalizationDelegate(); static Future load(Locale locale) { final name = (locale.countryCode?.isEmpty ?? false) ? locale.languageCode : locale.toString(); final localeName = Intl.canonicalizedLocale(name); return initializeMessages(localeName).then((_) { Intl.defaultLocale = localeName; final instance = S(); S._current = instance; return instance; }); } static S of(BuildContext context) { final instance = S.maybeOf(context); assert(instance != null, 'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?'); return instance!; } static S? maybeOf(BuildContext context) { return Localizations.of(context, S); } /// `Payment` String get payment { return Intl.message( 'Payment', name: 'payment', desc: '', args: [], ); } /// `Rewards` String get rewards { return Intl.message( 'Rewards', name: 'rewards', desc: '', args: [], ); } /// `Notification` String get notification { return Intl.message( 'Notification', name: 'notification', desc: '', args: [], ); } /// `Facility` String get facility { return Intl.message( 'Facility', name: 'facility', desc: '', args: [], ); } /// `Form` String get form { return Intl.message( 'Form', name: 'form', desc: '', args: [], ); } /// `Notice Board` String get notice_board { return Intl.message( 'Notice Board', name: 'notice_board', desc: '', args: [], ); } /// `Phone/Email` String get phone_email { return Intl.message( 'Phone/Email', name: 'phone_email', desc: '', args: [], ); } /// `Password` String get password { return Intl.message( 'Password', name: 'password', desc: '', args: [], ); } /// `Log In` String get login { return Intl.message( 'Log In', name: 'login', desc: '', args: [], ); } /// `Forgot Password?` String get forgot_password { return Intl.message( 'Forgot Password?', name: 'forgot_password', desc: '', args: [], ); } /// `Create New YY Home Account` String get create_new_yy_home_account { return Intl.message( 'Create New YY Home Account', name: 'create_new_yy_home_account', desc: '', args: [], ); } /// `Agree to` String get agree_to { return Intl.message( 'Agree to', name: 'agree_to', desc: '', args: [], ); } /// `Terms of Service` String get terms_of_service { return Intl.message( 'Terms of Service', name: 'terms_of_service', desc: '', args: [], ); } /// `Enter your email and mobile phone number` String get forgot_text { return Intl.message( 'Enter your email and mobile phone number', name: 'forgot_text', desc: '', args: [], ); } /// `Email` String get email { return Intl.message( 'Email', name: 'email', desc: '', args: [], ); } /// `Mobile Phone` String get mobile_phone { return Intl.message( 'Mobile Phone', name: 'mobile_phone', desc: '', args: [], ); } /// `Next` String get next { return Intl.message( 'Next', name: 'next', desc: '', args: [], ); } /// `Verification Code` String get verification_code { return Intl.message( 'Verification Code', name: 'verification_code', desc: '', args: [], ); } /// `Reset Password` String get reset_password { return Intl.message( 'Reset Password', name: 'reset_password', desc: '', args: [], ); } /// `Confirm Password` String get confirm_password { return Intl.message( 'Confirm Password', name: 'confirm_password', desc: '', args: [], ); } /// `8 Digits Alphanumeric` String get password_format { return Intl.message( '8 Digits Alphanumeric', name: 'password_format', desc: '', args: [], ); } /// `Get Code` String get get_code { return Intl.message( 'Get Code', name: 'get_code', desc: '', args: [], ); } /// `First Name` String get first_name { return Intl.message( 'First Name', name: 'first_name', desc: '', args: [], ); } /// `Last Name` String get last_name { return Intl.message( 'Last Name', name: 'last_name', desc: '', args: [], ); } /// `We have sent you an SMS verification code Please enter it below` String get sign_up_verify_txt { return Intl.message( 'We have sent you an SMS verification code Please enter it below', name: 'sign_up_verify_txt', desc: '', args: [], ); } /// `Did Not Receive?` String get did_not_receive { return Intl.message( 'Did Not Receive?', name: 'did_not_receive', desc: '', args: [], ); } /// `Resend Code` String get resend_code { return Intl.message( 'Resend Code', name: 'resend_code', desc: '', args: [], ); } /// `You have` String get you_have { return Intl.message( 'You have', name: 'you_have', desc: '', args: [], ); } /// `Tries Left` String get tries_left { return Intl.message( 'Tries Left', name: 'tries_left', desc: '', args: [], ); } /// `Welcome {name}` String welcome_name(Object name) { return Intl.message( 'Welcome $name', name: 'welcome_name', desc: '', args: [name], ); } /// `You have successfully created an YY Home account` String get sign_up_success_txt1 { return Intl.message( 'You have successfully created an YY Home account', name: 'sign_up_success_txt1', desc: '', args: [], ); } /// `Your username is your email address and please keep your password safe` String get sign_up_success_txt2 { return Intl.message( 'Your username is your email address and please keep your password safe', name: 'sign_up_success_txt2', desc: '', args: [], ); } /// `Now, let's get you connected to your estate and community` String get sign_up_success_txt3 { return Intl.message( 'Now, let\'s get you connected to your estate and community', name: 'sign_up_success_txt3', desc: '', args: [], ); } /// `let's get started` String get get_started { return Intl.message( 'let\'s get started', name: 'get_started', desc: '', args: [], ); } /// `YY Home Accounts` String get yy_home_accounts { return Intl.message( 'YY Home Accounts', name: 'yy_home_accounts', desc: '', args: [], ); } /// `Block` String get block { return Intl.message( 'Block', name: 'block', desc: '', args: [], ); } /// `Unit Number` String get unit_number { return Intl.message( 'Unit Number', name: 'unit_number', desc: '', args: [], ); } /// `Block refers to the street number of the unit's official mailing address` String get block_desc { return Intl.message( 'Block refers to the street number of the unit\'s official mailing address', name: 'block_desc', desc: '', args: [], ); } /// `123 Example Road #08-08 Country 123456` String get block_example { return Intl.message( '123 Example Road #08-08 Country 123456', name: 'block_example', desc: '', args: [], ); } /// `123 is the block number #08-08 is the unit number` String get block_example_desc { return Intl.message( '123 is the block number #08-08 is the unit number', name: 'block_example_desc', desc: '', args: [], ); } /// `Estate or Building Name?` String get estate_or_building_name { return Intl.message( 'Estate or Building Name?', name: 'estate_or_building_name', desc: '', args: [], ); } /// `Type Here` String get type_here { return Intl.message( 'Type Here', name: 'type_here', desc: '', args: [], ); } /// `Tell us the name of the estateor building you are applying to` String get estate_name_desc { return Intl.message( 'Tell us the name of the estateor building you are applying to', name: 'estate_name_desc', desc: '', args: [], ); } /// `Are you an owner or tenant?` String get owner_or_tenant { return Intl.message( 'Are you an owner or tenant?', name: 'owner_or_tenant', desc: '', args: [], ); } /// `Owner` String get owner { return Intl.message( 'Owner', name: 'owner', desc: '', args: [], ); } /// `Tenant` String get tenant { return Intl.message( 'Tenant', name: 'tenant', desc: '', args: [], ); } /// `Who are owners?` String get who_are_owners { return Intl.message( 'Who are owners?', name: 'who_are_owners', desc: '', args: [], ); } /// `My name is in the strata title` String get owners_desc1 { return Intl.message( 'My name is in the strata title', name: 'owners_desc1', desc: '', args: [], ); } /// `My name is in the strata title and l have rented out my unit` String get owners_desc2 { return Intl.message( 'My name is in the strata title and l have rented out my unit', name: 'owners_desc2', desc: '', args: [], ); } /// `I live in the same household as the named owner` String get owners_desc3 { return Intl.message( 'I live in the same household as the named owner', name: 'owners_desc3', desc: '', args: [], ); } /// `I am the shareholder of the company that owns the unit` String get owners_desc4 { return Intl.message( 'I am the shareholder of the company that owns the unit', name: 'owners_desc4', desc: '', args: [], ); } /// `The Management will verify your application accordingly` String get owners_desc5 { return Intl.message( 'The Management will verify your application accordingly', name: 'owners_desc5', desc: '', args: [], ); } /// `Who are tenants?` String get who_are_tenants { return Intl.message( 'Who are tenants?', name: 'who_are_tenants', desc: '', args: [], ); } /// `My name is in the lease agreement` String get tenants_desc1 { return Intl.message( 'My name is in the lease agreement', name: 'tenants_desc1', desc: '', args: [], ); } /// `I live in the same household as the named tenant` String get tenants_desc2 { return Intl.message( 'I live in the same household as the named tenant', name: 'tenants_desc2', desc: '', args: [], ); } /// `I am the tenant of the company that rented the unit` String get tenants_desc3 { return Intl.message( 'I am the tenant of the company that rented the unit', name: 'tenants_desc3', desc: '', args: [], ); } /// `The Management will verify your application accordingly` String get tenants_desc4 { return Intl.message( 'The Management will verify your application accordingly', name: 'tenants_desc4', desc: '', args: [], ); } /// `Upload Documents` String get upload_documents { return Intl.message( 'Upload Documents', name: 'upload_documents', desc: '', args: [], ); } /// `The Management requires that you upload the following documents to verify your tenancy. You may redact sensitive financia information` String get upload_doc_desc { return Intl.message( 'The Management requires that you upload the following documents to verify your tenancy. You may redact sensitive financia information', name: 'upload_doc_desc', desc: '', args: [], ); } /// `(1)A valid tenancy agreement showing your name,unit numper,tenancy expiration date and a list of occupants (if applicable)` String get upload_doc_desc1 { return Intl.message( '(1)A valid tenancy agreement showing your name,unit numper,tenancy expiration date and a list of occupants (if applicable)', name: 'upload_doc_desc1', desc: '', args: [], ); } /// `(2)Tenancy Agreement Stamp Duty receipt` String get upload_doc_desc2 { return Intl.message( '(2)Tenancy Agreement Stamp Duty receipt', name: 'upload_doc_desc2', desc: '', args: [], ); } /// `Upload` String get upload { return Intl.message( 'Upload', name: 'upload', desc: '', args: [], ); } /// `Following` String get following { return Intl.message( 'Following', name: 'following', desc: '', args: [], ); } /// `Followers` String get followers { return Intl.message( 'Followers', name: 'followers', desc: '', args: [], ); } /// `My Posts` String get my_post { return Intl.message( 'My Posts', name: 'my_post', desc: '', args: [], ); } /// `Household` String get household { return Intl.message( 'Household', name: 'household', desc: '', args: [], ); } /// `Estate` String get estate { return Intl.message( 'Estate', name: 'estate', desc: '', args: [], ); } /// `Settings` String get settings { return Intl.message( 'Settings', name: 'settings', desc: '', args: [], ); } /// `Enable Notification` String get enable_notification { return Intl.message( 'Enable Notification', name: 'enable_notification', desc: '', args: [], ); } /// `Change Mobile Phone` String get change_mobile_phone { return Intl.message( 'Change Mobile Phone', name: 'change_mobile_phone', desc: '', args: [], ); } /// `Privacy Policy` String get privacy_policy { return Intl.message( 'Privacy Policy', name: 'privacy_policy', desc: '', args: [], ); } /// `Terms & Conditions` String get terms_conditions { return Intl.message( 'Terms & Conditions', name: 'terms_conditions', desc: '', args: [], ); } /// `Account Deactivation` String get account_deactivation { return Intl.message( 'Account Deactivation', name: 'account_deactivation', desc: '', args: [], ); } /// `Rate Us` String get rate_us { return Intl.message( 'Rate Us', name: 'rate_us', desc: '', args: [], ); } /// `Version No.` String get version_no { return Intl.message( 'Version No.', name: 'version_no', desc: '', args: [], ); } /// `Logout` String get logout { return Intl.message( 'Logout', name: 'logout', desc: '', args: [], ); } /// `Old Mobile Phone` String get old_mobile_phone { return Intl.message( 'Old Mobile Phone', name: 'old_mobile_phone', desc: '', args: [], ); } /// `New Mobile Phone` String get new_mobile_phone { return Intl.message( 'New Mobile Phone', name: 'new_mobile_phone', desc: '', args: [], ); } /// `Submit` String get submit { return Intl.message( 'Submit', name: 'submit', desc: '', args: [], ); } /// `New Password` String get new_password { return Intl.message( 'New Password', name: 'new_password', desc: '', args: [], ); } /// `Confirm New Password` String get confirm_new_password { return Intl.message( 'Confirm New Password', name: 'confirm_new_password', desc: '', args: [], ); } /// `Cancel` String get cancel { return Intl.message( 'Cancel', name: 'cancel', desc: '', args: [], ); } /// `Confirm` String get confirm { return Intl.message( 'Confirm', name: 'confirm', desc: '', args: [], ); } /// `Yes` String get yes { return Intl.message( 'Yes', name: 'yes', desc: '', args: [], ); } /// `No` String get no { return Intl.message( 'No', name: 'no', desc: '', args: [], ); } /// `Alert` String get alert { return Intl.message( 'Alert', name: 'alert', desc: '', args: [], ); } /// `Are you sure you want to logout?` String get logout_alert { return Intl.message( 'Are you sure you want to logout?', name: 'logout_alert', desc: '', args: [], ); } /// `Are you sure you want to deactivate your account? You will not be able to login into the app once you proceed with the request.` String get account_deactivate_alert { return Intl.message( 'Are you sure you want to deactivate your account? You will not be able to login into the app once you proceed with the request.', name: 'account_deactivate_alert', desc: '', args: [], ); } /// `Home` String get home { return Intl.message( 'Home', name: 'home', desc: '', args: [], ); } /// `Visitor` String get visitor { return Intl.message( 'Visitor', name: 'visitor', desc: '', args: [], ); } /// `FeedBack` String get feedback { return Intl.message( 'FeedBack', name: 'feedback', desc: '', args: [], ); } /// `Me` String get me { return Intl.message( 'Me', name: 'me', desc: '', args: [], ); } /// `Property` String get property { return Intl.message( 'Property', name: 'property', desc: '', args: [], ); } /// `Service` String get service { return Intl.message( 'Service', name: 'service', desc: '', args: [], ); } /// `Community` String get community { return Intl.message( 'Community', name: 'community', desc: '', args: [], ); } /// `Latest News` String get latest_news { return Intl.message( 'Latest News', name: 'latest_news', desc: '', args: [], ); } /// `Internal` String get internal { return Intl.message( 'Internal', name: 'internal', desc: '', args: [], ); } /// `Info` String get info { return Intl.message( 'Info', name: 'info', desc: '', args: [], ); } /// `Publish` String get publish { return Intl.message( 'Publish', name: 'publish', desc: '', args: [], ); } /// `Latest Transactions` String get latest_transactions { return Intl.message( 'Latest Transactions', name: 'latest_transactions', desc: '', args: [], ); } /// `Property News` String get property_news { return Intl.message( 'Property News', name: 'property_news', desc: '', args: [], ); } /// `Strata Management Guides` String get strata_management_guides { return Intl.message( 'Strata Management Guides', name: 'strata_management_guides', desc: '', args: [], ); } /// `Introduction to info-pack` String get introduction_to_info_pack { return Intl.message( 'Introduction to info-pack', name: 'introduction_to_info_pack', desc: '', args: [], ); } /// `Your roles & responsibilities` String get your_roles_responsibilities { return Intl.message( 'Your roles & responsibilities', name: 'your_roles_responsibilities', desc: '', args: [], ); } /// `Property Guide` String get property_guide { return Intl.message( 'Property Guide', name: 'property_guide', desc: '', args: [], ); } /// `Now` String get visitor_now { return Intl.message( 'Now', name: 'visitor_now', desc: '', args: [], ); } /// `Active` String get visitor_active { return Intl.message( 'Active', name: 'visitor_active', desc: '', args: [], ); } /// `History` String get history { return Intl.message( 'History', name: 'history', desc: '', args: [], ); } /// `The community visitor system is an intelligent system designed to enhance community security management and facilitate visitor access.` String get visitor_msg { return Intl.message( 'The community visitor system is an intelligent system designed to enhance community security management and facilitate visitor access.', name: 'visitor_msg', desc: '', args: [], ); } /// `Visitor Registration` String get visitor_registration { return Intl.message( 'Visitor Registration', name: 'visitor_registration', desc: '', args: [], ); } /// `Full Name` String get full_name { return Intl.message( 'Full Name', name: 'full_name', desc: '', args: [], ); } /// `NRIC/FIN` String get nric_fin { return Intl.message( 'NRIC/FIN', name: 'nric_fin', desc: '', args: [], ); } /// `License Plate Number` String get license_plate_number { return Intl.message( 'License Plate Number', name: 'license_plate_number', desc: '', args: [], ); } /// `Access Date` String get access_date { return Intl.message( 'Access Date', name: 'access_date', desc: '', args: [], ); } /// `Notes` String get notes { return Intl.message( 'Notes', name: 'notes', desc: '', args: [], ); } /// `{count} Characters` String characters(Object count) { return Intl.message( '$count Characters', name: 'characters', desc: '', args: [count], ); } /// `Sent` String get sent { return Intl.message( 'Sent', name: 'sent', desc: '', args: [], ); } /// `In Progress` String get in_progress { return Intl.message( 'In Progress', name: 'in_progress', desc: '', args: [], ); } /// `Help us keep your estate beautiful` String get feedback_msg_1 { return Intl.message( 'Help us keep your estate beautiful', name: 'feedback_msg_1', desc: '', args: [], ); } /// `there is something that requires ourattention or if you have an awesome suggestion, we would like to hear from you!` String get feedback_msg_2 { return Intl.message( 'there is something that requires ourattention or if you have an awesome suggestion, we would like to hear from you!', name: 'feedback_msg_2', desc: '', args: [], ); } /// `Create New FeedBack` String get create_new_feedback { return Intl.message( 'Create New FeedBack', name: 'create_new_feedback', desc: '', args: [], ); } /// `Mark All` String get mark_all { return Intl.message( 'Mark All', name: 'mark_all', desc: '', args: [], ); } /// `Choose a Category` String get choose_category { return Intl.message( 'Choose a Category', name: 'choose_category', desc: '', args: [], ); } /// `Title` String get title { return Intl.message( 'Title', name: 'title', desc: '', args: [], ); } /// `Describe Your FeedBack` String get describe_your_feedback { return Intl.message( 'Describe Your FeedBack', name: 'describe_your_feedback', desc: '', args: [], ); } /// `Upload Pictures` String get upload_pictures { return Intl.message( 'Upload Pictures', name: 'upload_pictures', desc: '', args: [], ); } /// `Send FeedBack` String get send_feedback { return Intl.message( 'Send FeedBack', name: 'send_feedback', desc: '', args: [], ); } /// `(Up to 10 images can be uploaded)` String get up_to_max_images { return Intl.message( '(Up to 10 images can be uploaded)', name: 'up_to_max_images', desc: '', args: [], ); } /// `Published Successfully` String get published_successfully { return Intl.message( 'Published Successfully', name: 'published_successfully', desc: '', args: [], ); } /// `Your feedback has been successfully sent! We will reply to you as soon as possible! thank you!` String get published_successful_txt { return Intl.message( 'Your feedback has been successfully sent! We will reply to you as soon as possible! thank you!', name: 'published_successful_txt', desc: '', args: [], ); } /// `Back Home` String get back_home { return Intl.message( 'Back Home', name: 'back_home', desc: '', args: [], ); } /// `Waiting for the administrator` String get waiting_for_the_administrator { return Intl.message( 'Waiting for the administrator', name: 'waiting_for_the_administrator', desc: '', args: [], ); } /// `Administrator Reply` String get administrator_reply { return Intl.message( 'Administrator Reply', name: 'administrator_reply', desc: '', args: [], ); } /// `FeedBack Details` String get feedback_details { return Intl.message( 'FeedBack Details', name: 'feedback_details', desc: '', args: [], ); } /// `Upload a Photo` String get upload_a_photo { return Intl.message( 'Upload a Photo', name: 'upload_a_photo', desc: '', args: [], ); } /// `or` String get or { return Intl.message( 'or', name: 'or', desc: '', args: [], ); } /// `Edit Profile` String get edit_profile { return Intl.message( 'Edit Profile', name: 'edit_profile', desc: '', args: [], ); } /// `ACTIVE` String get active { return Intl.message( 'ACTIVE', name: 'active', desc: '', args: [], ); } /// `INACTIVE` String get inactive { return Intl.message( 'INACTIVE', name: 'inactive', desc: '', args: [], ); } /// `Remove` String get remove { return Intl.message( 'Remove', name: 'remove', desc: '', args: [], ); } /// `Add` String get add { return Intl.message( 'Add', name: 'add', desc: '', args: [], ); } /// `Household Members` String get household_members { return Intl.message( 'Household Members', name: 'household_members', desc: '', args: [], ); } /// `Remove Account` String get remove_account { return Intl.message( 'Remove Account', name: 'remove_account', desc: '', args: [], ); } /// `Are you sure you want to remove your account?` String get remove_account_tips { return Intl.message( 'Are you sure you want to remove your account?', name: 'remove_account_tips', desc: '', args: [], ); } /// `Book` String get book { return Intl.message( 'Book', name: 'book', desc: '', args: [], ); } /// `Active` String get facility_active { return Intl.message( 'Active', name: 'facility_active', desc: '', args: [], ); } /// `Deposit` String get deposit { return Intl.message( 'Deposit', name: 'deposit', desc: '', args: [], ); } /// `View` String get view { return Intl.message( 'View', name: 'view', desc: '', args: [], ); } /// `Fee Paid` String get fee_paid { return Intl.message( 'Fee Paid', name: 'fee_paid', desc: '', args: [], ); } /// `Booked by {name}` String booked_by_someone(Object name) { return Intl.message( 'Booked by $name', name: 'booked_by_someone', desc: '', args: [name], ); } /// `Deposit Amount` String get deposit_amount { return Intl.message( 'Deposit Amount', name: 'deposit_amount', desc: '', args: [], ); } /// `Deposit Hold` String get deposit_hold { return Intl.message( 'Deposit Hold', name: 'deposit_hold', desc: '', args: [], ); } /// `Deposit Description:` String get deposit_desc { return Intl.message( 'Deposit Description:', name: 'deposit_desc', desc: '', args: [], ); } /// `Deposit is a part of enjoying community services, and it will be automatically issued to your corresponding bank card after enjoying the services. Please check carefully` String get deposit_desc_txt { return Intl.message( 'Deposit is a part of enjoying community services, and it will be automatically issued to your corresponding bank card after enjoying the services. Please check carefully', name: 'deposit_desc_txt', desc: '', args: [], ); } /// `Delete` String get delete { return Intl.message( 'Delete', name: 'delete', desc: '', args: [], ); } /// `Deposit Released` String get deposit_released { return Intl.message( 'Deposit Released', name: 'deposit_released', desc: '', args: [], ); } /// `BOOKING SUCCESSFUL` String get booking_successful { return Intl.message( 'BOOKING SUCCESSFUL', name: 'booking_successful', desc: '', args: [], ); } /// `Have Fun!` String get have_fun { return Intl.message( 'Have Fun!', name: 'have_fun', desc: '', args: [], ); } /// `paid on` String get paid_on { return Intl.message( 'paid on', name: 'paid_on', desc: '', args: [], ); } /// `DEPOSIT RELEASED` String get deposit_released_caps { return Intl.message( 'DEPOSIT RELEASED', name: 'deposit_released_caps', desc: '', args: [], ); } /// `Booking Fee` String get booking_fee { return Intl.message( 'Booking Fee', name: 'booking_fee', desc: '', args: [], ); } /// `On Hold` String get on_hold { return Intl.message( 'On Hold', name: 'on_hold', desc: '', args: [], ); } /// `Total` String get total { return Intl.message( 'Total', name: 'total', desc: '', args: [], ); } /// `Other` String get other { return Intl.message( 'Other', name: 'other', desc: '', args: [], ); } } class AppLocalizationDelegate extends LocalizationsDelegate { const AppLocalizationDelegate(); List get supportedLocales { return const [ Locale.fromSubtags(languageCode: 'en'), Locale.fromSubtags(languageCode: 'zh', countryCode: 'CN'), Locale.fromSubtags(languageCode: 'zh', countryCode: 'HK'), ]; } @override bool isSupported(Locale locale) => _isSupported(locale); @override Future load(Locale locale) => S.load(locale); @override bool shouldReload(AppLocalizationDelegate old) => false; bool _isSupported(Locale locale) { for (var supportedLocale in supportedLocales) { if (supportedLocale.languageCode == locale.languageCode) { return true; } } return false; } }