Last active
February 13, 2023 00:31
-
-
Save deespater/5395192 to your computer and use it in GitHub Desktop.
Alphabets in different European languages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$l = range('a', 'z'); | |
$alphabets = array( | |
'en' => $l, | |
'fr' => array_merge($l, array('é', 'à', 'è', 'ù', 'â', 'ê', 'î', 'ô', 'û', 'ç', 'ë', 'ï', 'ü', 'ÿ', 'æ', 'œ')), | |
'de' => array_merge($l, array('ä', 'ö', 'ü', 'ß')), | |
'es' => array_merge($l, array('ñ', 'ü', 'ch', 'll')), | |
'it' => array_merge($l, array('à', 'è', 'é', 'ì', 'í', 'î', 'ò', 'ó', 'ù', 'ú')), | |
'pt' => array_merge($l, array('á', 'â', 'ã', 'à', 'ç', 'é', 'ê', 'í', 'ó', 'ô', 'õ', 'ú', 'ü')), | |
'el' => array('α', 'β', 'γ', 'δ', 'ε', 'ζ', 'η', 'θ', 'ι', 'κ', 'λ', 'μ', 'ν', 'ξ', 'ο', 'π', 'ρ', 'σ', 'τ', 'υ', 'φ', 'χ', 'ψ', 'ω'), | |
'nl' => array_merge($l, array('ij', 'á', 'ä', 'é', 'ë', 'í', 'ï', 'ó', 'ö', 'ú', 'ü')), | |
'da' => array_merge($l, array('æ', 'ø', 'å')), | |
'sv' => array_merge($l, array('å', 'ä', 'ö', 'ü', 'é', 'à')), | |
'ru' => array('а', 'б', 'в', 'г', 'д', 'е', 'ё', 'ж', 'з', 'и', 'й', 'к', 'л', 'м', 'н', 'о', 'п', 'р', 'с', 'т', 'у', 'ф', 'х', 'ц', 'ч', 'ш', 'щ', 'ъ', 'ы', 'ь', 'э', 'ю', 'я'), | |
'fi' => array_merge($l, array('š', 'ž', 'å', 'ä', 'ö')), | |
'pl' => array_merge($l, array('ą', 'ć', 'ę', 'ł', 'ń', 'ó', 'ś', 'ź', 'ż')), | |
'tr' => array('a', 'b', 'c', 'ç', 'd', 'e', 'f', 'g', 'ğ', 'h', 'ı', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'ö', 'p', 'r', 's', 'ş', 't', 'u', 'ü', 'v', 'y', 'z'), | |
'cs' => array_merge($l, array('á', 'č', 'ď', 'é', 'ě', 'ch', 'í', 'ň', 'ó', 'ř', 'š', 'ť', 'ú', 'ů', 'ý', 'ž')), | |
'no' => array_merge($l, array('æ', 'ø', 'å')), | |
'hu' => array_merge($l, array('á', 'cs', 'dz', 'dzs', 'é', 'gy', 'í', 'ly', 'ny', 'ó', 'ö', 'ő', 'sz', 'ty', 'ú', 'ü', 'ű', 'zs')) | |
); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment