diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2ba5e10461ce3ad1003fa546a288a32cd9e0a162..5487e58bfb6c6f76ead013c80abdf12121de2f76 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,7 +71,7 @@ review:
   variables:
     GIT_STRATEGY: clone
   before_script:
-    - apt-get update && apt-get install -y make git
+    - apt-get update && apt-get install -y make git gettext
     - pip install poetry
     - poetry install
   script:
@@ -95,6 +95,8 @@ deploy:
   extends: .ssh-agent
   stage: deploy
   image: registry.funkwhale.audio/funkwhale/ci/python:3.11
+  before_script:
+    - apt-get update && apt-get install -y gettext
   script:
     - git submodule update --init --recursive
     - poetry install