Skip to content

Magento Community Project for providing best experience for Japanese market

License

OSL-3.0, AFL-3.0 licenses found

Licenses found

OSL-3.0
LICENSE.txt
AFL-3.0
LICENSE_AFL.txt
Notifications You must be signed in to change notification settings

raman-kapanets/magento2-jp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 Japan

This repository contains set of modules required to provide a necessary user experience for Magento 2 at Japanese market.

Initial implementation of modules listed here provided by Veriteworks Inc.

Any Magento Community member are welcome to join to the project.

Goal: Adopt Magento 2 to Japanese market

Agile Board: https://app.zenhub.com/workspace/o/magento/magento2-jp

Slack: #japanese-localization

Release strategy: Modules from this repository will be available as separate extensions to Magento 2 with possibility to install them with Composer metapackage community-engineering/japan-common. Metapackage of the project will ba also available at Magento Marketplace after initial release.

All development targeted to Magento 2.3 and will be compatible with all further Magento releases.

Committing changes: It is highly encouraged for this project to create feature branches inside this repo. Any contributor should be able to do that.

Installation from Git

For development purpose Magento Japanese modules as well as Magento Open Source should be installed from Git. Magento Commerce, Magento B2B and Magento Sample Data modules also may be installed locally and should not conflict.

Magento Japanese repository contains only extensions that are part of the project and not contains whole clone of Magento Open Source. This approach is called Magento Developed Extensions (MDE) and introduced to increase Magento modularity.

Development installation of Magento Japanese modules requires several simple addition steps to set up of Magento Open Source development environment:

  1. Switch to Magento root folder:

    cd <magento root folder>
  2. Create folder where all MDE extensions will be placed:

    mkdir ext

    To exclude this folder from Git add it to local ignore list:

    echo ext >> ./.git/info/exclude

    Now you still be able to modify source code of Magento Open Source and contribute to GitHub. All MDE (as well as any 3rd party module) may be cloned from GitHub or any other Git repository to ext folder.

  3. Configure Composer to discover packages from ext folder:

    # discover projects that consists from single Composer package/modules
    composer config repositories.extRoot '{"type":"path","url":"ext/*/*","options":{"symlink":true}}'
    
    # discover projects that constains multiple Composer packages/modules
    composer config repositories.extPackage '{"type":"path","url":"ext/*/*/*","options":{"symlink":true}}'
  4. Configure Composer to use development versions of packages:

    composer config minimum-stability dev
  5. Clone source code of Magento Japanese project:

    git clone git clone [email protected]:magento/magento2-jp.git ext/magento/magento2-jp

    We highly recommend to use <vendor>/<project> folders inside ext folder to avoid naming conflicts.

  6. Add Magento Japanese project to your Magento installation:

    composer require community-engineering/japan-common:@dev
  7. To avoid unintentional commit of modified composer.json and composer.lock files skip them:

    git update-index --skip-worktree composer.json
    git update-index --skip-worktree composer.lock

    If in future you would like to contribute changes to these files you may unskip files:

    git update-index --no-skip-worktree composer.json
    git update-index --no-skip-worktree composer.lock

Now Magento Japanese modules are visible to your development Magento instance and you may modify, pull or push source code from ext/magento/magento2-jp folder.

To complete installation process you should install or upgrade Magento to enabled added modules. If you use CLI for Magento installation you may now skip locale, timezone and currency options as they will be provided by JapaneseDefaultConfig module:

php bin/magento setup:install --admin-firstname=Admin --admin-lastname=Admin --admin-user=admin [email protected] --admin-password=123123q --base-url="http://<dev host>/" --base-url-secure="https://<dev host>" --use-secure=1 --use-secure-admin=1 --backend-frontname=admin --db-host=localhost --db-name=<db name> --db-user=<db user> --db-password=<db password> --use-rewrites=1

About

Magento Community Project for providing best experience for Japanese market

Resources

License

OSL-3.0, AFL-3.0 licenses found

Licenses found

OSL-3.0
LICENSE.txt
AFL-3.0
LICENSE_AFL.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 65.6%
  • HTML 24.2%
  • JavaScript 10.2%