Kate: Добавить проверку правописания на других языках
Небольшая заметка о том, как добавить в редактор Kate другой язык, чтобы была возможность проверить опечатки в словах...
В прекрасном редакторе Kate есть встроенная проверка правописания включить которую можно из меню
- Tools > Spelling > Automatic Spell Checking
но, при устанвке английской ОС всего скорее у вас не будет нужных словарей. Исправить это не сложно.
Ищем нужный языковой пакет словаря
1 2 3 |
apt-cache search hunspell |
получаем список и выбираем нужные пакеты
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
hunspell-af - Afrikaans dictionary for hunspell hunspell-an - Aragonese dictionary for hunspell hunspell-ar - Arabic dictionary for hunspell hunspell-be - Belarusian dictionary for hunspell and academic orthography hunspell-bg - Bulgarian dictionary for hunspell hunspell-bn - Bengali dictionary for hunspell hunspell-bo - Classical Tibetan language dictionary for hunspell hunspell-br - Breton language dictionary for hunspell hunspell-bs - Bosnian dictionary for hunspell hunspell-ca - Catalan dictionaries for hunspell hunspell-cs - Czech dictionary for hunspell hunspell-da - Danish dictionary for hunspell hunspell-de-at - Austrian (German) dictionary for hunspell hunspell-de-at-frami - German (Austria) dictionary for hunspell ("frami" version) hunspell-de-ch - Swiss (German) dictionary for hunspell hunspell-de-ch-frami - German (Switzerland) dictionary for hunspell ("frami" version) hunspell-de-de - German dictionary for hunspell hunspell-de-de-frami - German dictionary for hunspell ("frami" version) hunspell-dz - Dzongkha language dictionary for hunspell hunspell-el - Modern Greek dictionary for hunspell hunspell-en-au - English (Australia) dictionary for hunspell hunspell-en-ca - English (Canada) dictionary for hunspell hunspell-en-gb - English (GB) dictionary for hunspell hunspell-en-us - English_american dictionary for hunspell hunspell-en-za - English (South Africa) dictionary for hunspell hunspell-es - Spanish dictionary for hunspell hunspell-eu - Basque (Euskera) dictionary for hunspell hunspell-fr - French dictionary for hunspell (dependency package) hunspell-fr-classical - French dictionary for hunspell (classical version) hunspell-gd - Scottish Gaelic dictionary for hunspell hunspell-gl - Galician dictionary for hunspell hunspell-gl-es - Galician dictionary for hunspell - dummy transitional package hunspell-gu - Gujarati dictionary for hunspell hunspell-gug - Guarani dictionary for hunspell hunspell-he - Hebrew dictionary for hunspell hunspell-hi - Hindi dictionary for hunspell hunspell-hr - Croatian dictionary for hunspell hunspell-hu - Hungarian dictionary for hunspell hunspell-id - Indonesian dictionary for hunspell hunspell-is - Icelandic dictionary for hunspell hunspell-it - Italian dictionary for hunspell hunspell-kk - Kazakh dictionary for hunspell hunspell-kmr - Kurmanji dictionary for hunspell hunspell-ko - Korean dictionary for hunspell hunspell-lo - Laotian dictionary for hunspell hunspell-lt - Lithuanian dictionary for hunspell hunspell-lv - Latvian dictionary for hunspell hunspell-ml - Malayalam dictionary for hunspell hunspell-mn - Mongolian dictionary for hunspell hunspell-ne - Nepalese dictionary for hunspell hunspell-nl - Dutch dictionary for Hunspell hunspell-no - Norwegian dictionary for hunspell hunspell-oc - Occitan dictionary for hunspell hunspell-pl - Polish dictionary for hunspell hunspell-pt-br - Brazilian Portuguese dictionary for hunspell hunspell-pt-pt - Portuguese dictionary for hunspell hunspell-ro - Romanian dictionary for hunspell hunspell-ru - Russian dictionary for hunspell hunspell-si - Sinhala dictionary for hunspell hunspell-sk - Slovak dictionary for hunspell hunspell-sl - Slovene dictionary for hunspell hunspell-sr - Serbian dictionary for hunspell hunspell-sv - Swedish dictionary for hunspell hunspell-sv-se - Swedish dictionary for hunspell - dummy transitional package hunspell-sw - Swahili dictionary for hunspell hunspell-te - Telugu dictionary for hunspell hunspell-th - Thai dictionary for hunspell hunspell-tr - Turkish dictionary for hunspell hunspell-uk - Ukrainian dictionary for hunspell hunspell-uz - Uzbek dictionary for Hunspell hunspell-vi - Vietnamese dictionary for hunspell |
Устанавливаем пакет/ы, например итальянский
1 2 3 |
sudo apt install hunspell-it |
Перезапускаем Kate, включаем проверку правописания и теперь опечатки будут видны
Если язык не определился сразу, то переключить словарь можно в
- Tools > Spelling > Change dictionary
Author: | Tags: /
| Rating:
Leave a Reply