GithubHelp home page GithubHelp logo

Comments (16)

comradekingu avatar comradekingu commented on September 16, 2024 1

@zeratax And it still is. Copyleft even, so no need to worry there. Maybe you are thinking of Transifex. If so, I think you'll really enjoy Weblate.

from leftvalues.github.io.

zeratax avatar zeratax commented on September 16, 2024 1

oh I mixed up weblate with transifex a little here, but yeah I remember weblate being great. probably a good idea to port it to that

from leftvalues.github.io.

zeratax avatar zeratax commented on September 16, 2024 1

spent the night setting this all up and porting the code, but I have pretty much everything setup. it's running here on my server:

https://l10n.dmnd.sh/projects/leftvalues/leftvalues/

weblate

and currently using the weblate branch will change to master when people think it's fine.
It would be very nice to first also get a notifaction hook thingie setup so the weblate instance automatically updates when somebody pushes to the repo, but I don't have permissions to set that up.

@LeftValues you probably need to create a webhook or something, see here https://docs.weblate.org/en/latest/admin/continuous.html#updating-repositories
I think it should look like this:
webhook
https://l10n.dmnd.sh/hooks/github/
Furthermore I created a bot account to push the changes @dmnd-bot, but ofcourse it doesn't yet have permissions to push to this repository
also btw would probably be cool to turn LeftValues into an organization account

There's a ton of settings and stuff and I tried to set it up to the best of my abilities, but stuff is probably still not perfect, especially since it's still kinda my own solution and i'm not using any frameworks for this.

I also created this here https://github.com/LeftValues/leftvalues.github.io/blob/weblate/i18n.js#L23-L40 to automatically replace stuff that looks like {{colors.syn}}.

It would probably be good to remove all the html tags from the strings since that's more formatting than anything, but I guess it doesn't matter much.

Anyways so far I really love it, thanks for the suggestion @comradekingu

from leftvalues.github.io.

Psykozis avatar Psykozis commented on September 16, 2024 1

from leftvalues.github.io.

comradekingu avatar comradekingu commented on September 16, 2024 1

Added to https://github.com/WeblateOrg/weblate/wiki/References

from leftvalues.github.io.

comradekingu avatar comradekingu commented on September 16, 2024

Please don't use Crowdin, it is a lackluster tool in terms of ensuring quality, cumbersome to use, and is closed source software only-as-a-service that spies on users https://support.crowdin.com/cookies/.

PolitiScales loads connect.facebook.com…

I recommend using https://weblate.org/hosting/, which unlike Crowdin offers gratis hosting to all libre software projects, without requiring them to be non-commercial and contribute to their TM.

from leftvalues.github.io.

zeratax avatar zeratax commented on September 16, 2024

I think I've used weblate before and liked it, but that was when it was still fully open source

from leftvalues.github.io.

zeratax avatar zeratax commented on September 16, 2024

@LeftValues @sparkz9502 you closed this, but the website still can't push translations since the bot has no permissions

from leftvalues.github.io.

 avatar commented on September 16, 2024

@zeratax My bad, the bot should be invited now.

from leftvalues.github.io.

zeratax avatar zeratax commented on September 16, 2024

cool seems to work 39ae012
idk if you also added the webhook it's not super necessary, since I can set it to check periodically, but it would definitely be nice.

Anyways now people can add translations via the website and they will be merged every 24 hours.
I gave you admin permission for the project @LeftValues.

Edit: Also probably best if you add new questions via:
https://l10n.dmnd.sh/projects/leftvalues/leftvalues/en/#new
to avoid merge conflicts. other than that I think you can use this repository as before, though I tried using https://standardjs.com/ so the code is always properly formatted

from leftvalues.github.io.

 avatar commented on September 16, 2024

@zeratax Looks great, though a few issues seem to have arisen. Namely, the "There are __ questions in the test." line returns undefined, and the text colours for the axes in the index have broken in a few instances.

from leftvalues.github.io.

zeratax avatar zeratax commented on September 16, 2024

oh right I see the "There are __ questions in the test." on the index page, but where exactly are the colors missing?

from leftvalues.github.io.

 avatar commented on September 16, 2024

For the English index, the "Union" text is greyed, on the German index "Utopisch", "Dezentralisiert", and "National" are greyed, and on the French index "Réformisme" and "Révolution" are greyed.

from leftvalues.github.io.

zeratax avatar zeratax commented on September 16, 2024

Ah okay I fixed the counter and I think those should just be fixable by editing here:
https://l10n.dmnd.sh/translate/leftvalues/leftvalues/en/?checksum=4db217563cbaf6a1

maybe I should have given these colors better names. it's not colors.synd but colors.syn

from leftvalues.github.io.

zeratax avatar zeratax commented on September 16, 2024

okay I think I got it

from leftvalues.github.io.

zeratax avatar zeratax commented on September 16, 2024

@TESSSERACT @Psykozis @2020LeftistStrikeBack @seunghaekim @reed-overflow @erikberter @LastWitchOfIllyrith @Jyunmau sorry for the spam, just wanted to again thank you for your work and draw attention to https://l10n.dmnd.sh/projects/leftvalues/leftvalues/

if you ever again want to add or review the translations it should now be a lot more straightforward!

from leftvalues.github.io.

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.