snapshot: preserve handbook, bilingual phase 2, and logo updates
This commit is contained in:
33
.github/workflows/i18n.yml
vendored
Normal file
33
.github/workflows/i18n.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: i18n
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
compile-translations:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: backend
|
||||
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Install gettext
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y gettext
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
- name: Compile translations
|
||||
run: django-admin compilemessages
|
||||
Reference in New Issue
Block a user