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. Localization cycle issue

Localization cycle issue

Scheduled Pinned Locked Moved General and Desktop
3 Posts 1 Posters 1.3k 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.
  • R Offline
    R Offline
    raulpuchades
    wrote on last edited by
    #1

    I've developed an application using Qt 4.7, and as a worldwide target application, I'm using the provided tools to localize & internationalize the application.

    The cycle is:

    1.- code
    2.- lupdate
    3.- translate
    4.- lrelease

    This is working real nice, as everything coming from Qt (most elegant and smart engineered framework ever).

    Just a (big) mistake I made: all the texts, dialogs & images in the code are written in spanish, so I usually translate myself with QLinguistic into English.

    The problem is that the application is being translated into Chinese (and many other languages soon), and the source language should have been english not spanish for the chinese translator to understand what is translating (the chinese translator doesn't knows spanish, just english).

    So for now, I've supplied the chinese translator my "application_en.ts" file, so he can overwrite the "english" translation with the chinese one, but the next time that I lupdate my files and translate, the chinese translator will have AGAIN :( all texts for translation.

    So, is there any way to automatically/smartly mix and convert my translated english .ts file with the last chinese translation, so the chinese translator ONLY has to translate the newly added texts?

    Excuse me for all this long text, and thanks in advance!

    Have a nice day!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raulpuchades
      wrote on last edited by
      #2

      Of course I can always change ALL texts etc into english so my source is now english, but what happens if "tomorrow" I want to translate to portuguese and my portuguese translator only knows spanish and portuguese...?

      Can I simply mix all my ts files into one with all the translations? Will it work with QLinguistic?

      Have a nice day!

      1 Reply Last reply
      0
      • R Offline
        R Offline
        raulpuchades
        wrote on last edited by
        #3

        Well, sort of explanation here:

        http://doc.qt.digia.com/qt/linguist-translators.html#translating-multiple-languages-simultaneously

        Have a nice day!

        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