juek / CustomSections

Developer plugin for rapid prototyping of custom section types in Typesetter CMS
GNU General Public License v2.0
3 stars 7 forks source link

Multilanguage for Recaptcha #44

Closed mahotilo closed 4 years ago

mahotilo commented 7 years ago

Hi, Juergen.

I need to setup recaptcha language when using Multilanguage plugin. I see no global for current page language. I suppose it should be $page_lang. As for now I copy code from CustomSections.php circa line 661.

Can we have current page language global?

P.S. This request's priority is very low until... :)

juek commented 7 years ago

Can we have current page language global?

Not as far as i know. Admittedly, I haven't checked the latest Multi-Language Manager changes, so the setLanguage function might be simpler since MLM 1.2.2.

I believe MLM itself should set $page->language - which would make a lot of things way easier.

juek commented 4 years ago

implemented with this commit

... some 20 months ago. Years go by :)