Getting the current language from editor(not frontend), but from component view or tsx(Polylang)

Is this question related to any of our tools?

Please read How to best ask questions on this forum and post some more information along with actual code if you’d like for this topic to be relisted