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

    Internationalization, Translators

    Scheduled Pinned Locked Moved Translations
    54 Posts 18 Posters 20.9k Views 7 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.
      • H Offline
        hans1977se
        last edited by

        I started my first ever application translation in a not yet existing language today. I knew it was going to be a bit labor intensive, but i think some of it could maybe done with a script. πŸ™‚

        I think cities and countries should be very suitable for script translation. Has anyone here done that with script? What would be the best way to do it? Are there any scripts around that i could just modify a bit?

        Or the best is to just see it through to the end the manual way this first time and for next app just use the automatic translation feature?

        1 Reply Last reply Reply Quote 0
        • H Offline
          hans1977se
          last edited by

          I have been through the manual way now, and after that i started to investigating the script idea more.

          It was actually not so much to be written into the script, and i think the output is actually quite a good start when i compare it with the manual translation. πŸ™‚

          The script takes the po-file and the target language as parameters and prints out the new po-file with translations in the terminal, so it can of course also be redirected to a file instead.

          I think the nicest would be if there was an option on the server to run a script like this when starting a translation in a not yet existing language, but as it is now i think running the script with the po-file from the server and then upload the output file to the server seems to be the least amount of work to make a translation from scratch.

          advocatuxA 1 Reply Last reply Reply Quote 0
          • advocatuxA Offline
            advocatux @hans1977se
            last edited by

            I don't know if there's a better place to ask this question. Feel free to move to the correct sub-forum.

            When a certain translation is locked for several days. How can I know who's locking it and/or how can I contact that person to help him or her to unlock it?

            1 Reply Last reply Reply Quote 0
            • advocatuxA Offline
              advocatux @flohack
              last edited by

              @Flohack, I could log in with my Ubuntu account in https://translate.ubports.com/ finally. Thank you.

              1 Reply Last reply Reply Quote 0
              • H Offline
                hans1977se
                last edited by

                If there is a new translation but no words to translate. What could have gone wrong, then? The words are there in the po-file, but just not visible in the gui.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Anne017
                  last edited by

                  Hello, you can count on me for the French translation.
                  Good work everyone!

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Anne017
                    last edited by

                    It seems the translations for the System Settings app have been recently updated in https://ubpweblate.tnvcomp.com/projects/ubports/system-settings/fr/
                    But I cannot access to Weblate.
                    Am I the only one to see this message?

                    DisallowedHost at /projects/ubports/system-settings/fr/
                    Invalid HTTP_HOST header: 'ubpweblate.tnvcomp.com'. You may need to add u'ubpweblate.tnvcomp.com' to ALLOWED_HOSTS

                    advocatuxA 1 Reply Last reply Reply Quote 0
                    • advocatuxA Offline
                      advocatux @Anne017
                      last edited by

                      @Anne017 that's the old domain, you need to use https://translate.ubports.com/ now

                      Also pinging @Flohack (he's going to hate me lol).

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Anne017
                        last edited by

                        With a little delay, thank you @advocatux for your kind answer.
                        Now the System Settings app is fully translated in French πŸ˜‰

                        However, when I try to propose another translation for any string of the UBports app, I get this message:
                        IOError at /translate/ubports/ubports-app/fr/
                        [Errno 13] Permission denied: u'/opt/weblate/data/vcs/ubports/ubports-app/po/fr.po'
                        Anyone with the same issue?
                        If it is really a bug, where could I report it?

                        flohackF 1 Reply Last reply Reply Quote 0
                        • flohackF Offline
                          flohack @Anne017
                          last edited by

                          @Anne017 Try again plz, should be fixed now. Also please only use the new domain https://translate.ubports.com/ as the old one was removed recently πŸ˜‰

                          BR

                          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          A 1 Reply Last reply Reply Quote 0
                          • A Offline
                            Anne017 @flohack
                            last edited by

                            @Flohack OK it works now, thank you for your feed-back

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Anne017
                              last edited by

                              Two great apps to translate: Webapp-creator and uAdBlock

                              flohackF 1 Reply Last reply Reply Quote 1
                              • A Offline
                                Anne017
                                last edited by

                                Have you heard about Imaginario?
                                You can translate it here or directly in Launchpad.

                                1 Reply Last reply Reply Quote 0
                                • JaimeJ Offline
                                  Jaime @flohack
                                  last edited by

                                  @Flohack I can contribute on portuguese PT

                                  flohackF 1 Reply Last reply Reply Quote 0
                                  • flohackF Offline
                                    flohack @Anne017
                                    last edited by

                                    @Anne017 Ok will add them soon πŸ˜‰

                                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                    1 Reply Last reply Reply Quote 0
                                    • flohackF Offline
                                      flohack @Jaime
                                      last edited by

                                      @Jaime perfect! Get a user at https://translate.ubports.com/ and feel free to edit πŸ˜ƒ

                                      BR

                                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                      JaimeJ 1 Reply Last reply Reply Quote 0
                                      • ezzeE Offline
                                        ezze
                                        last edited by ezze

                                        Hi, guys!

                                        I just created an account on translate.ubports.com and completed/edited Russian translations for teleports and indicator-datetime. Could you, please, clarify how it's working: will my translations be merged to corresponding repositories automatically or do I have to do some manual steps or ask somebody to merge them?

                                        Aury88A 1 Reply Last reply Reply Quote 0
                                        • Aury88A Offline
                                          Aury88 @ezze
                                          last edited by

                                          @ezze they will be periodically merged. you don't have to do anything

                                          1 Reply Last reply Reply Quote 1
                                          • JaimeJ Offline
                                            Jaime @flohack
                                            last edited by

                                            @Flohack I already done. Thanks

                                            1 Reply Last reply Reply Quote 0
                                            • ezzeE Offline
                                              ezze
                                              last edited by ezze

                                              @Flohack, could you please merge Russian translations for TELEports from Weblate? I updated these translations in November fixing many issues such as this date formatting one. My wife, like me, uses Nexus 5 with UT as daily driver so this app is really important for us, and I'm ready for further contribution!

                                              screenshot20200118_122518766.png

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