anasstouaticoder / magento2-module-lokalise-translation
The Lokalise translation module enhances Magento Translation by adding Lokalise layer to native translation.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.4||^8.0
- anasstouaticoder/magento2-module-base: ^1.2.17
- magento/framework: *
README
Copy field path and value, display its override values in parent scope
``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 thefr_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
Usage
For any issues, suggestions, or contributions, feel free to reach out:
Author: Anass TOUATI Email: anass1touati@gmail.com