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 1.3k 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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post