Monday, 4 March 2019

Create and install magento2 patch files

1. Go to magento2 vendor directory

2.run command inside vendor directory

   git init


3. run following commands now

   git add -A

   git commit -m " temp added "

Magento2 Google Translation

1.Create file registration.php in app/code/Google/Translator/registration.php

<?php
/**
 * Ansar Husain
 * Google_Translator
 */
\Magento\Framework\Component\ComponentRegistrar::register(
    \Magento\Framework\Component\ComponentRegistrar::MODULE,
    'Google_Translator',
    __DIR__
);