Thanks for the quick response! It worked but partially. The fact is that I have two languages on my site.
I changed the language in user settings and created new forms (according to your recommendations). Now the lang attribute shows the code of the language I selected in the user settings (lang=uk). However, when switching to another language, the lang in code still displays “lang=uk”.