anasstouaticoder/magento2-module-lokalise-translation

The Lokalise translation module enhances Magento Translation by adding Lokalise layer to native translation.

1.0.3 2024-10-14 00:07 UTC

This package is auto-updated.

Last update: 2024-11-14 00:25:08 UTC


README

Copy field path and value, display its override values in parent scope

Supported Magento Versions Latest Stable Version Composer Downloads Maintained - Yes
``anasstouaticoder/magento2-module-back-to-top``

Main Functionalities

The module add Lokaise translation as new Layer to Magento translation structure

Requirements

  • Magento Version: 2.4.x or higher
  • PHP Version: 7.4 or 8.x
  • Lokalise API Key: You need an active Lokalise account and API key.

Installation

* = in production please use the --keep-generated option

install from composer 2

  • In magento project root directory run command composer require anasstouaticoder/magento2-module-lokalise-translation
  • Enable the module by running php bin/magento module:enable AnassTouatiCoder_LokaliseTranslation
  • Flush the cache by running php bin/magento cache:flush

Zip file

  • Unzip the zip file in app/code/AnassTouatiCoder
  • Enable the module by running php bin/magento module:enable AnassTouatiCoder_LokaliseTranslation
  • Flush the cache by running php bin/magento cache:flush

Configuration

Configuration In Back Office

To configure the module:

Log in to the Magento admin panel. Navigate to Stores > Configuration > Atouati Tools > Lokalise Translation.

General

  • Enable: Toggle to enable or disable the "Back to Top" button globally.
  • API Token: you can generate it in Lokalise dashboard then past it in this field
  • Project ID: you can copy it from your Lokalise dashboard
  • Debug mode: Toggle to enable or disable debug mode to see investigate connection errors.

Then save changes and refresh config and translation caches

Specifications

  • This module allows you to integrate Lokalise translations into Magento projects.
  • The module will load Lokalise translations for a given locale ISO code. For example, if your store view is set to French (fr_FR), the French translation from the fr_FR locale in Lokalise will be applied to the store's translations.

Usage

After Configurating the module, now you juste need to add/modify or remove translation keys in lokalise dashboard then purge tranlsation cache in MagentO BO after that the new translations will be displayed in front office

See plugin wiki

Usage

For any issues, suggestions, or contributions, feel free to reach out:

Author: Anass TOUATI Email: anass1touati@gmail.com

License

MIT