Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated the language selection using document #534

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shivprime94
Copy link

@shivprime94 shivprime94 commented May 3, 2023

updated the language selection, which was previous not working

@sanjai0py
Copy link

sanjai0py commented Jun 12, 2023

This code works for finding the language in the new LC UI

const findLang = ()=>{ const elem = document.getElementsByClassName("notranslate") return elem[0].innerText }

'ant-select-selection-selected-value',
),
...document.getElementsByClassName('Select-value-label'),
...document.getElementsByTagName("div")[133]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on my window, this code grabs the footer part. please check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants