Skip to content

Commit

Permalink
config: Run CMS translations fetches as a separate block
Browse files Browse the repository at this point in the history
  • Loading branch information
blarghmatey committed Mar 25, 2024
1 parent fe1f37d commit 56b9ed4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dockerfiles/openedx-edxapp/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,16 @@ fetch-translations:
## pull xblock translations via atlas
python manage.py lms pull_xblock_translations $OPENEDX_ATLAS_OPTIONS && \
python manage.py lms compile_xblock_translations && \
python manage.py cms compile_xblock_translations && \
## pull translations via atlas
atlas pull $OPENEDX_ATLAS_OPTIONS \
translations/edx-platform/conf/locale:conf/locale \
translations/studio-frontend/src/i18n/messages:conf/plugins-locale/studio-frontend && \
python manage.py lms compilemessages && \
python manage.py lms compilejsi18n && \
python manage.py cms compilejsi18n && \
python manage.py lms collectstatic && \
python manage.py cms collectstatic
ENV DJANGO_SETTINGS_MODULE cms.envs.mitol.i18n
RUN python manage.py cms compile_xblock_translations && \
atlas pull $OPENEDX_ATLAS_OPTIONS \
translations/studio-frontend/src/i18n/messages:conf/plugins-locale/studio-frontend && \
python manage.py cms compilejsi18n
ENV DJANGO_SETTINGS_MODULE lms.envs.production
SAVE ARTIFACT /openedx/edx-platform /edx-platform

Expand Down

0 comments on commit 56b9ed4

Please sign in to comment.