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

    Request for Chinese Translation

    Scheduled Pinned Locked Moved Translations
    3 Posts 2 Posters 979 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.
      • J Offline
        joe
        last edited by

        Hi,

        There have been requests from the Chinese language group for translations of the UBports main website and the docs.ubports.com website. I have heard that someone is working on getting the main site into a state that is translatable. As for the docs, I don't see the option to translate it into Chinese. How do you add a language to something on weblate? At the moment there are only these projects https://translate.ubports.com/languages/zh_Hans/

        Thanks

        1 Reply Last reply Reply Quote 0
        • U Offline
          UniSuperBox
          last edited by

          You cannot currently add a language by yourself on Weblate. Adding a new language requires a few things:

          1. Add the translation to our list in languages.sh
          2. Set up the translation on ReadTheDocs
          3. Import the translation to Weblate and hope that it doesn't conflict
          4. Oh it conflicted, let's fix that
          5. Spend 30 minutes fixing the conflict

          And then, when it comes time to update the translation sources (Sphinx manually creates its own po files rather than a pot file), we will almost certainly get a conflict on Weblate. 30 minutes spent on that again...

          Basically, I'm not adding new translations right now because we haven't figured out the problems with translating the documentation. There is an issue filed for what you're requesting, though.

          1 Reply Last reply Reply Quote 1
          • J Offline
            joe
            last edited by

            Interesting process. Thanks for the info!

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