anasstouaticoder/magento2-module-lokalise-translation
Composer 安装命令:
composer require anasstouaticoder/magento2-module-lokalise-translation
包简介
The Lokalise translation module enhances Magento Translation by adding Lokalise layer to native translation.
README 文档
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_FRlocale 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
License
anasstouaticoder/magento2-module-lokalise-translation 适用场景与选型建议
anasstouaticoder/magento2-module-lokalise-translation 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 3, 最近一次更新时间为 2024 年 10 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「translation」 「REST API」 「magento 2」 「lokalise」 「frontend component」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 anasstouaticoder/magento2-module-lokalise-translation 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 anasstouaticoder/magento2-module-lokalise-translation 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 anasstouaticoder/magento2-module-lokalise-translation 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A custom URL rule class for Yii 2 which allows to create translated URL rules
A Laravel Eloquent model trait for translatable resource
A PSR-7 compatible library for making CRUD API endpoints
Bureaux A Partager Edit - Parse, validate, manipulate, and display dates in PHP w/ i18n support. Inspired by moment.js
Api bundle
Symfony localise.biz library
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-10