• Runtimes
  • Spine Runtime 4.0 zh-CN translation

wiige Sorry for the delay, but we have completed changing the translation of "runtime" to "运行时". Please let us know if you find any old translations that have been left out. Cheers!

    Related Discussions
    ...
    12 天 后

    Misaki Pages are decent and clean now! It cured my obsessive-compulsive disorder, thank you misaki

    Harald Done!

    zh-cn_spine-unity-update.zip
    60kB

    I saw a youtube video was inserted to provide overview of the example scenes, shall we replace it with bilibili video(or some other video from none-network block video streaming site) for mandarin chinese user ?

      @wiige Thanks very much as always for all your work! The documentation page has been updated:
      https://zh.esotericsoftware.com/spine-unity

      wiige I saw a youtube video was inserted to provide overview of the example scenes, shall we replace it with bilibili video(or some other video from none-network block video streaming site) for mandarin chinese user ?

      Oh, yes, please, that would be great!

        Harald OK, Let's do a quick update:

        zh-cn_spine-unity-bilibili-video-update.zip
        60kB

        I replace youtube link with this, but I am not sure if it's a proper code for embed iframe video player:
        <iframe width="560" height="315" src="https://player.bilibili.com/player.html?aid=733379562&bvid=BV1BD4y1Y7By&cid=913927393&page=1&high_quality=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="100%" height="500"></iframe>!!

        Here is how I forge the code:

        • I requested the video from https://www.bilibili.com/video/BV1DV4y1A7uf/, its bvid is BV1DV4y1A7uf.

        • Next, requested bilibili API for cid : https://api.bilibili.com/x/player/pagelist?bvid=BV1DV4y1A7uf, it response:
          {
          "code": 0,
          "message": "0",
          "ttl": 1,
          "data": [
          {
          "cid": 913960313,
          "page": 1,
          "from": "vupload",
          "part": "[spine-unity] 通过示例场景开始使用spine-unity运行时",
          ......
          }
          ]
          }

        • so I get cid = 913960313

        • Then request https://api.bilibili.com/x/web-interface/view?cid=913960313&bvid=BV1DV4y1A7uf with cid=913960313 and bvid=BV1DV4y1A7uf, got response with aid:
          {
          "code": 0,
          "message": "0",
          "ttl": 1,
          "data": {
          "bvid": "BV1DV4y1A7uf",
          "aid": 860908820,
          "videos": 1,
          "tid": 209,
          "tname": "职业职场",
          ......
          "need_jump_bv": false,
          "disable_show_up_info": false
          }
          }

        • it said aid=860908820

        • In the end, put those 3 IDs together: https://player.bilibili.com/player.html?aid=733379562&bvid=BV1BD4y1Y7By&cid=913927393 , and got the iframe video play code

        Hope my wild way work.

        PS: this post mentioned the mobile bilibili player is more clean than www version, just replace player.bilibili.com/player.html to www.bilibili.com/blackboard/html5mobileplayer.html.

          @wiige Thanks very much for your update and the detailed description!

          wiige PS: this post mentioned the mobile bilibili player is more clean than www version, just replace player.bilibili.com/player.html to www.bilibili.com/blackboard/html5mobileplayer.html.

          Thanks for the hint. We've just updated the documentation page and also replaced the player embeds with the mobile bilibili player version.

          @wiige It seems that the aid=.. and cid=.. parameters are not needed, and that the following URL works as well:
          https://www.bilibili.com/blackboard/html5mobileplayer.html?bvid=BV1BD4y1Y7By&page=1&high_quality=1
          Omitting these parameters should make your workflow much easier.

          I'm not sure what the page=1 parameter changes either, do you have any idea? Otherwise it could just be omitted as well.

            Harald

            digged several google results, the blog and this column refer some thing may helpful.

            page=1 parameter works only for multi-page video collection e.g. this Satfiled OST Collection: set page=5 at https://www.bilibili.com/blackboard/html5mobileplayer.html?bvid=BV1sP411Y7am&page=5&high_quality=1 that player will stream the 5th video of collection. I guess you are right -- it's not an efficient parameter for single page bilibili video.

            as for aid and cid: aid stand for av code which was changed to bvid years ago, these articles see it as a legacy for compatibility. And I assumed cid stand for clip id, because bvid identified the whole collection while cid become the identification of single video in the video collection, that might be useful for web video scraper rather than embed video.

            We've been using:

            https://player.bilibili.com/player.html?bvid=BV1Y14y1z72c

            We just change the bvid parameter. Seems the new player also works:

            https://www.bilibili.com/blackboard/html5mobileplayer.html?bvid=BV1Y14y1z72c

            Maybe we should change all our embeds to the new player? Seems the other parameters aren't needed?

              Nate Maybe we should change all our embeds to the new player?

              html5mobileplayer work for me when reading those blogs which studying bilibili API. I don‘t know too much about embed player but if you post a pool for player replacement I vote a big yes.

              Nate Seems the other parameters aren't needed?

              as far as I know now, all single-page bilibili video links only with bvid are working well , unless you decide to embed a tutorial playlist collection.
              I can't verify my assumption while bilibili.com removed "Share" button of web page.......

              2 个月 后

              @wiige FYI: We've added one more embedded video and a short description line in front of it reading
              "This video will help you with installing and using the Timeline extension package."
              The video embed was already added to the Chinese spine-unity page section, so it's just the description line in front of it that's missing currently.

              The diff can be found here:
              https://diffy.org/diff/3904a621570b6

                Harald I see, let's update!

                one-line-update.zip
                60kB

                BTW, line 12 of JSON 导出文件格式, the link of Example JSON is failed, please check

                  @wiige Thanks a lot for the translations!

                  As for the example JSON, I will check with Nate later as I am not sure of the correct condition (what it should be linked to).

                  I think I should have reflected all the translation files you provided for us, except for the spine-unity documentation, so please check the corresponding pages.
                  I added some minor fixes to the spine-phaser page: https://zh.esotericsoftware.com/spine-phaser
                  Fixed the part where the backquote(`) was not closed and the link URL was somehow the one in the English runtime guide.

                  However, the Spine编辑器文档列表 page may seem incomplete to you. This page was originally intended to replace only some of the translations using PHP, and the parts of the page for which no replacement code is provided cannot be replaced without creating a new page. So I created a new page for Chinese to reflect the translation you provided. In doing so, I mixed the Chinese translation originally reflected by PHP with the translation you provided. If you have any concerns, I would appreciate it if you could prepare a translation file to update it based on the current page.

                  @Misaki what an instantaneous response! And thanks a lot for correction you have made!

                  here is the update of your new page of Spine编辑器文档列表:

                  editor-list-update.zip
                  704B

                    @wiige The broken link on the JSON export format page has been fixed. The link was originally at the end of the section, but the following sentence has been added and the link has been moved there:

                    Spine JSON exports can be found for each example project in the Spine Runtimes.

                    https://en.esotericsoftware.com/spine-json-format#JSON-export-format

                    A similar sentence has been added to the Binary export format page as well:

                    Binary export files can be found for each example project in the Spine Runtimes.

                    https://en.esotericsoftware.com/spine-binary-format

                    It would be great if you could translate them when you have time!

                    wiige Harald I see, let's update!

                    Thanks very much for all your great work @wiige!
                    The spine-unity-zh page has been updated accordingly.