UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    language-chooser

    Scheduled Pinned Locked Moved App Development
    1 Posts 1 Posters 178 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • B Offline
        boky
        last edited by

        Hey. If it's not difficult, how can you implement the address of an already open page with a redirect to google translate?

        {
                  id: cer
                  iconName: "language-chooser"
                  onTriggered: {
                    webview.url = 'https://translate.google.com/[this open page]';
                  }
                  text: qsTr("language-chooser")
                },
        

        without setting the start page.
        Eg: https://my.site -start page.
        https://my.site/news/(publication) -translation into another language
        https://my.site/news/(publication_2) -translation into another language
        etc.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post