Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Crowdin #51

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open

Add Crowdin #51

wants to merge 36 commits into from

Conversation

Kas-tle
Copy link
Member

@Kas-tle Kas-tle commented Jan 12, 2025

Closes #9.

Still need to optimize deployment strategy as currently it takes about 20 minutes for 10 locales. I am considering either doing a GH actions matrix to build various locales in parallel, adding caching for web thumbnail generation, or both.

See https://geyser.kastle.dev/. Select "Crowdin" from the locale menu to demo in-context translation.

Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
@Kas-tle Kas-tle requested review from a team as code owners January 12, 2025 10:28
@mcchampions
Copy link
Contributor

Maybe you can use Crowdin Webhooks to trigger Github Actions to sync translations with Crowdin. This way, you can avoid syncing on every commit.

@Kas-tle
Copy link
Member Author

Kas-tle commented Jan 25, 2025

The sync time is negligible (under 20 seconds). The major build time issue is the fact that docusuarus must build each locale separately. I could probably shave off 30-50% with caching og images, but I think I could achieve the largest savings by building all languages separately in a matrix, and then combining the builds after the fact. I just need to see if docuusaurus sites built to an individual locale can be successfully combined.

Roolps and others added 10 commits February 27, 2025 11:13
* Added MCServerHost to hosting providers

* Update providers.ts

* Correct grammar and make instructions more concise

---------

Co-authored-by: Kas-tle <[email protected]>
* Update community-geyser-projects.md

I no longer will run TydiumCraft Skin API. I have no interest in continuing it at this time (or anything minecraft related). However I have switched out the spot with an API that 100% is always updated and active. Hosted by my good friend Bret06. This works so much better as well. Thanks for everything over the years guys! Tydium out!

* Update wiki/other/community-geyser-projects.md

:thumbsup:

Co-authored-by: chris <[email protected]>

---------

Co-authored-by: chris <[email protected]>
Update wording because it’s bothering me
* Update community-geyser-projects.md

* Update wiki/other/community-geyser-projects.md

Co-authored-by: chris <[email protected]>

---------

Co-authored-by: Luke <[email protected]>
Co-authored-by: chris <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
@Kas-tle
Copy link
Member Author

Kas-tle commented Feb 27, 2025

Using a build matrix for languages has reduced the build time to about 5.5 minutes:
https://github.com/Kas-tle/GeyserWebsite/actions/runs/13575720560

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need i18n support for GeyserWiki Pages
10 participants