Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import URL aliases via a script #2167

Open
1 task
sspj-does-weather opened this issue Dec 9, 2024 · 0 comments
Open
1 task

Import URL aliases via a script #2167

sspj-does-weather opened this issue Dec 9, 2024 · 0 comments
Labels
Eng Translation Issues related to i18n and l10n

Comments

@sspj-does-weather
Copy link
Collaborator

Description

Drupal requires URL aliases to be set in order for translations to work. (For example, if /home points to /node/3, an identical routing entry must be set up for Chinese, Spanish, French, etc. In theory, this means we could even translate the URLs, but for now, getting the routing setup is paramount.) Currently, this is done manually in each environment: Drupal does not seem to provide a means of importing or exporting this configuration. To make deployments repeatable, we should write a script to update the database with the correct URL aliases during deployment.

Acceptance Criteria

  • A script that can read the routing table, find all English entries, and make matching entries for each additional language
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Eng Translation Issues related to i18n and l10n
Projects
Development

No branches or pull requests

1 participant