Giter Club home page Giter Club logo

Comments (7)

LennyMcLennington avatar LennyMcLennington commented on May 29, 2024 1

Currently translations are fetched on-demand from MMC servers.

To make PolyMC less reliant on any external servers we should include translations in this repository and bundle them when building binaries.

If anything we will use crowdin or weblate or something like those and use a similar system to MultiMC to distribute the Qt translation files. I don't want them in this repo for the same reason that I want to move the packaging stuff to another repo. We don't need to update PolyMC itself to update the translations. Similarly, we don't need to update PolyMC itself to update the packaging scripts, but the way we have it set up means that it's a hassle to checkout a previous version of PolyMC and use a packaging script that was created after that version released.

from polymc.

binex-dsk avatar binex-dsk commented on May 29, 2024 1

That's what it's doing, we had this same issue with meta.

We are going to use hosted weblate for this soon.

from polymc.

Scrumplex avatar Scrumplex commented on May 29, 2024

Whoops 😅

from polymc.

binex-dsk avatar binex-dsk commented on May 29, 2024

Problem with this is we would have to manually update from upstream changes.

A lack of proper API is also a problem. I don't know how translations work in Qt at all.

from polymc.

txtsd avatar txtsd commented on May 29, 2024

Translations from files.multimc.org are now blocked.

    0.697 D Downloading  "https://files.multimc.org/translations/index_v2.json"
    1.067 C Failed  "https://files.multimc.org/translations/index_v2.json"  with reason  QNetworkReply::ContentAccessDenied
    1.068 D Download failed in previous step: "https://files.multimc.org/translations/index_v2.json"
    1.068 D Downloading  "https://files.multimc.org/translations/index_v2.json"
    1.142 C Failed  "https://files.multimc.org/translations/index_v2.json"  with reason  QNetworkReply::ContentAccessDenied
    1.142 D Download failed in previous step: "https://files.multimc.org/translations/index_v2.json"
    1.143 D Downloading  "https://files.multimc.org/translations/index_v2.json"
    1.214 C Failed  "https://files.multimc.org/translations/index_v2.json"  with reason  QNetworkReply::ContentAccessDenied
    1.215 D Download failed in previous step: "https://files.multimc.org/translations/index_v2.json"
    1.216 D Downloading  "https://files.multimc.org/translations/index_v2.json"
    1.291 C Failed  "https://files.multimc.org/translations/index_v2.json"  with reason  QNetworkReply::ContentAccessDenied
    1.291 D Download failed in previous step: "https://files.multimc.org/translations/index_v2.json"
    1.297 C Task "NetJob(Translations Index)" failed:  "Job 'Translations Index' failed to process:\nhttps://files.multimc.org/translations/index_v2.json"
    1.298 C Translations Index Download Failed: "Job 'Translations Index' failed to process:\nhttps://files.multimc.org/translations/index_v2.json"
   20.317 D Downloading Translations Index...
   20.318 D Task "NetJob(Translations Index)" starting for the first time
   20.322 D Downloading  "https://files.multimc.org/translations/index_v2.json"
   20.393 C Failed  "https://files.multimc.org/translations/index_v2.json"  with reason  QNetworkReply::ContentAccessDenied
   20.393 D Download failed in previous step: "https://files.multimc.org/translations/index_v2.json"
   20.394 D Downloading  "https://files.multimc.org/translations/index_v2.json"
   20.463 C Failed  "https://files.multimc.org/translations/index_v2.json"  with reason  QNetworkReply::ContentAccessDenied
   20.464 D Download failed in previous step: "https://files.multimc.org/translations/index_v2.json"
   20.464 D Downloading  "https://files.multimc.org/translations/index_v2.json"
   20.535 C Failed  "https://files.multimc.org/translations/index_v2.json"  with reason  QNetworkReply::ContentAccessDenied
   20.535 D Download failed in previous step: "https://files.multimc.org/translations/index_v2.json"
   20.535 D Downloading  "https://files.multimc.org/translations/index_v2.json"
   20.608 C Failed  "https://files.multimc.org/translations/index_v2.json"  with reason  QNetworkReply::ContentAccessDenied
   20.609 D Download failed in previous step: "https://files.multimc.org/translations/index_v2.json"
   20.609 C Task "NetJob(Translations Index)" failed:  "Job 'Translations Index' failed to process:\nhttps://files.multimc.org/translations/index_v2.json"
   20.609 C Translations Index Download Failed: "Job 'Translations Index' failed to process:\nhttps://files.multimc.org/translations/index_v2.json"

from polymc.

oynqr avatar oynqr commented on May 29, 2024

It's probably checking the user agent or something, since it still works in-browser

from polymc.

binex-dsk avatar binex-dsk commented on May 29, 2024

Lenny has worked on setting up weblate. We have made a repo for this: PolyMC/Translations, move discussion there

from polymc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.