Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Translator
Forum Updated to NodeBB v4.3 + New Features

Translator

Scheduled Pinned Locked Moved General and Desktop
28 Posts 9 Posters 13.0k Views 1 Watching
  • 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.
  • T Offline
    T Offline
    tunde
    wrote on last edited by
    #16

    actually "Translate" was the push button for the application and on_translate_clicked() was the function to translate from a text edit to another text edit with the languages provided

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tunde
      wrote on last edited by
      #17

      i can provide the source code but it is kinda large

      1 Reply Last reply
      0
      • A Offline
        A Offline
        anselmolsm
        wrote on last edited by
        #18

        tunde, use a source code hosting service (e.g. "gitorious":http://gitorious.org/, "github":https://github.com/, etc) then just post the link here :-)

        Anselmo L. S. Melo (anselmolsm)

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DenisKormalev
          wrote on last edited by
          #19

          tunde, I'm not saying about title but about its name in .ui file.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sflr
            wrote on last edited by
            #20

            You have the shell of the app which is a good start, now you need the 'meat', the actual text translating functionality. I recommned you implement Google Translate API "from here":http://code.google.com/apis/language/translate/overview.html to do the translation for you. They have documentation and example source code as well.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              stukdev
              wrote on last edited by
              #21

              Yes, use Google API, is the simple way!

              Something like this "Qt App":http://qt-apps.org/content/show.php/QGoogleTranslator?content=135221

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tunde
                wrote on last edited by
                #22

                i created a little english to chinese translator using the google translate api;however, it does not show the translated text..the source code can be seen on
                https://github.com/tigertown/chinese-translator

                help will be appreciated

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tunde
                  wrote on last edited by
                  #23

                  feel free to make amendments on that link

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tunde
                    wrote on last edited by
                    #24

                    i created a little english to chinese translator using the google translate api;however, it does not show the translated text..the source code can be seen on

                    https://github.com/tigertown/chinese-translator

                    help will be appreciated

                    feel free to make amendments to the code on that link..thanks

                    1 Reply Last reply
                    0
                    • V Offline
                      V Offline
                      vsorokin
                      wrote on last edited by
                      #25

                      tunde, QHttp is obsolete class now. Use QNetworkAccessManager.

                      --
                      Vasiliy

                      1 Reply Last reply
                      0
                      • I Offline
                        I Offline
                        infoctopus
                        wrote on last edited by
                        #26

                        [quote author="Vass" date="1291640503"]tunde, QHttp is obsolete class now. Use QNetworkAccessManager.[/quote]

                        Also, tunde, have you used QML for UI?

                        Qt rulez

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          tunde
                          wrote on last edited by
                          #27

                          no i did not use QML for UI....is that an alternative?

                          1 Reply Last reply
                          0
                          • T Offline
                            T Offline
                            tunde
                            wrote on last edited by
                            #28

                            anyone is free to amend the code from the link i posted because i still have problems with translating the texts into another language...

                            1 Reply Last reply
                            0

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved