0

I've tried function I use my my Markdown and Polymode when editing my Jekyll blog with po-mode but it don't work at all:

I have code like this:

(defun lang (lang)
  (interactive "sLanguage: ")
  (ispell-change-dictionary lang)
  (flyspell-buffer))

when I run lang polish it process the file but nothing happen even if do error in one the translation.

I was looking at https://www.emacswiki.org/emacs/PoMode

but this don't work.

How can I get error checking inside PO file so I know that I need to edit the entry and fix the error.

It would also be nice to have error checking while editing.

jcubic
  • 691
  • 1
  • 4
  • 16
  • Two ideas: 1. you forgot `(turn-on-flyspell)`? 2. `lang` should not be `polish`, but something in spirit of `en_US` (pl_PL?)? – jue Feb 25 '20 at 23:39
  • running `flyspell-mode` and `lang pl_PL` give same results, no spell checking. – jcubic Nov 23 '20 at 11:13

0 Answers0