Skip to content

Import URL aliases via a script #2167

@sspj-does-weather

Description

@sspj-does-weather

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    EngTranslationIssues related to i18n and l10n

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions