Skip to content
globe

GitHub Action

magento-l18n-extractor

v1 Pre-release

magento-l18n-extractor

globe

magento-l18n-extractor

Extracts l18n from magento module

Installation

Copy and paste the following snippet into your .yml file.

              

- name: magento-l18n-extractor

uses: Szpadel/magento-l18n-extractor-action@v1

Learn more about this action in Szpadel/magento-l18n-extractor-action

Choose a version

Magento 2 l18n phrases extractor

Usage

Supported options:

module_path - Location of magento module, defaults to . output_file_path - Location where translations should be generated

Example use

name: Example action

on:
  push:
    branches: [ master ]

jobs:
  synchronize-with-crowdin:
    runs-on: ubuntu-latest

    steps:

    - name: Checkout
      uses: actions/checkout@v2

    - name: locale extraction action
      uses: Szpadel/magento-l18n-extractor-action
      with:
        output_file_path: "l18n/en_US.csv"