Skip to content

Drupal-l10n #64

Closed
Closed
@FlorentTorregrosa

Description

@FlorentTorregrosa

Hello,

I just made a new composer plugin to download Drupal localization files using composer. The structure comes from drupal-scaffold.

Here is the repository: https://github.com/FlorentTorregrosa/drupal-l10n

Here is an usage example: FlorentTorregrosa/docker-drupal-project@183a92c

Why this plugin? (https://github.com/FlorentTorregrosa/drupal-l10n/blob/master/README.md#usage)

This plugin is useful when you want to package your project and then deploy this package on a target environment and that this environment does not have access to a localization servers. So you have to prepare the translations before deploying.

It avoids you to have to put the localization files under your VCS or to have a local site to download the translations.

So does the drupal-composer group would like to incorporate it or should it stay on my Github account?

In TODO I have to:

  • Implement proper Composer events, currently only the download method works.
  • Implement tests
  • Display the name of the file that is downloaded (I have the same problem with drupal-scaffold, the filename is not displayed)

Thanks for your reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions