Skip to content

php bin/magento i18n:pack creates unwanted dir #6260

Closed
@thomvanderboon

Description

@thomvanderboon

If you run the php bin/magento i18n:pack to install a language pack a /i18n directory is created at system root. If you have no permission to write at system root you wil get a mkdir error

Tested on 2.1.0 and 2.2.0-dev (both same result)

Steps to reproduce

  1. From website root
  2. cd ./var
  3. wget http://107.170.242.99/var/2.1.0/source_nl_NL.csv
  4. cd ..
  5. php bin/magento i18n:pack --mode=replace -d var/source_nl_NL.csv nl_NL

Expected result

  1. Do not create i18n dir at / (system root)

Actual result

  1. Creates /i18n at system root
  2. Creates language file in /i18n at system root

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions