Skip to content

Commit

Permalink
new locale list
Browse files Browse the repository at this point in the history
  • Loading branch information
SecondeJK committed Oct 13, 2023
1 parent 6c22785 commit 14ccbe5
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions src/Verify2/VerifyObjects/VerificationLocale.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,43 @@
class VerificationLocale
{
private array $allowedCodes = [
'en-us',
'fr-fr',
'en-gb',
'en-us',
'es-es',
'es-mx',
'es-us',
'it-it',
'fr-fr',
'de-de',
'ru-ru',
'hi-in',
'pt-br',
'pt-pt',
'ru-ru',
'hi-in',
'id-id',
'he-il',
'yue-cn',
'ja-jp',
'ar-xa',
'cs-cz',
'cy-gb',
'el-gr',
'en-au',
'en-in',
'es-mx',
'fi-fi',
'fil-ph',
'fr-ca',
'hu-hu',
'is-is',
'nb-no',
'nl-nl',
'pl-pl',
'ro-ro',
'sv-se',
'th-th',
'tr-tr',
'vi-vn',
'zh-cn',
'zh-tw'
];

public function __construct(protected string $code = 'en-us')
Expand Down

0 comments on commit 14ccbe5

Please sign in to comment.