Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Turkish language support #82

Merged
merged 1 commit into from
Jan 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ PhoneFormField(
- 'nl',
- 'pt',
- 'ru',
- 'tr',
- 'zh',


Expand Down
5 changes: 5 additions & 0 deletions lib/l10n/generated/phone_field_localization.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import 'phone_field_localization_nl.dart';
import 'phone_field_localization_pt.dart';
import 'phone_field_localization_ru.dart';
import 'phone_field_localization_sv.dart';
import 'phone_field_localization_tr.dart';
import 'phone_field_localization_zh.dart';

/// Callers can lookup localized strings with an instance of PhoneFieldLocalization returned
Expand Down Expand Up @@ -114,6 +115,7 @@ abstract class PhoneFieldLocalization {
Locale('pt'),
Locale('ru'),
Locale('sv'),
Locale("tr"),
Locale('zh')
];

Expand Down Expand Up @@ -1629,6 +1631,7 @@ class _PhoneFieldLocalizationDelegate
'pt',
'ru',
'sv',
'tr',
'zh'
].contains(locale.languageCode);

Expand Down Expand Up @@ -1661,6 +1664,8 @@ PhoneFieldLocalization lookupPhoneFieldLocalization(Locale locale) {
return PhoneFieldLocalizationRu();
case 'sv':
return PhoneFieldLocalizationSv();
case 'tr':
return PhoneFieldLocalizationTr();
case 'zh':
return PhoneFieldLocalizationZh();
}
Expand Down
Loading