Download translations for the current profile and theme

Created on 9 June 2025, 22 days ago

Problem/Motivation

Recipe Installer Kit is blissfully ignorant of multilingual sites. But since it is a support system for custom profiles, what if you want to go through the install in a different language? It won't really work.

This is truly something that core should support, but doesn't. Recipe Installer Kit will have to step in and make it happen.

Proposed resolution

Wrap around the install_download_translations install task and do the following in the wrapper function:

  1. Download core translations for the current langcode as normal (call install_download_translations($install_state)).
  2. Use $install_state['server_pattern'] to generate a download URL for translations of the current profile, whatever it may be called, and call install_download_translations($install_state) again.
  3. Do the same thing for the current theme, whatever it may be.
Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024