nittolese / gquestions

Find "People Also Ask" questions
GNU General Public License v3.0
60 stars 36 forks source link

TR Support #12

Open KorayTugberk-g opened 4 years ago

KorayTugberk-g commented 4 years ago

I have tried to add the Turkish Language Support but I couldn't do it.

I have added:

elif lang == "tr":
        el = browser.find_element_by_xpath(
            "//div[@class='kno-ftr']//div/following-sibling::a[text()='Geri bildirim']")
if args['en']:
        lang = "en"
    elif args['es']:
        lang = "es"
    elif args['tr']:
        lang = "tr"

Sections as it should be, the Xpath is correct but still, couldn't do it. Do you have a guide about how to add new Languages?

barans commented 4 years ago

Hello,

You can make changes like this pull request for french language: https://github.com/nittolese/gquestions/pull/11/files

Actually the owner does not seem to upgrade this repo.