Skip to content

Github Actions

TheInsanityGod edited this page Sep 25, 2026 · 1 revision

Update translations

Automatically creates a pull request with new translations from crowdin (using dropbox link as provided by VintageTranslation project)

Setup

New yaml file under ".github/workflows"

name: Update translations

on:
  workflow_dispatch:
  schedule:
    - cron: "0 3 * * *"

permissions:
  contents: write
  pull-requests: write

jobs:
  translations:
    uses: InsanityGod/InsanityLib/.github/workflows/update-translations.yml@master
    with:
      MOD_LANG_PATH: "BrainFreeze/assets/brainfreeze/lang"
      TRANSLATION_ZIP: "brainfreeze-theinsanitygod.zip"

(example from BrainFreeze)

simply configure MOD_LANG_PATH to point to your lang folder and configure TRANSLATION_ZIP to have the name of the zip on dropbox (this is normally just modid-author.zip)

Will run automatically every day and can also be triggered manually.

Clone this wiki locally