定制 teknoo/east-translation 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

teknoo/east-translation

最新稳定版本:2.0.1

Composer 安装命令:

composer require teknoo/east-translation

包简介

Extension to provide translations in East applications or website to manage easily translatable objects

README 文档

README

Latest Stable Version Latest Unstable Version Total Downloads License PHPStan

Package originally a part from Teknoo East Website, part forked then totaly reworked from the Gedmo Extension Translation, to allow developers to create translatable persisted object, in multiples languages, without manage them directly into each object.

Translation are stored into a dedicated objects. Translation are loaded in e minimum of database requests into objects. The translation manager is able to persist and update translations.

Example with Symfony

//These operations are not reauired with teknoo/east-translation-symfony
//config/packages/east_translation_di.yaml:
di_bridge:
    definitions:
        - '%kernel.project_dir%/vendor/teknoo/east-translation/infrastructures/doctrine/di.php'

//In doctrine config (east_translation_doctrine_mongodb.yaml)
doctrine_mongodb:
    document_managers:
        default:
            auto_mapping: true
            mappings:
                TeknooEastTranslationDoctrine:
                    type: 'xml'
                    dir: '%kernel.project_dir%/vendor/teknoo/east-translation/infrastructures/doctrine/config/doctrine'
                    is_bundle: false
                    prefix: 'Teknoo\East\Translation\Doctrine\Object'

Support this project

This project is free and will remain free. It is fully supported by the activities of the EIRL. If you like it and help me maintain it and evolve it, don't hesitate to support me on Patreon or Github.

Thanks :) Richard.

Credits

EIRL Richard Déloge - https://deloge.io - Lead developer. SASU Teknoo Software - https://teknoo.software

About Teknoo Software

Teknoo Software is a PHP software editor, founded by Richard Déloge, as part of EIRL Richard Déloge. Teknoo Software's goals : Provide to our partners and to the community a set of high quality services or software, sharing knowledge and skills.

License

East Translation is licensed under the 3-Clause BSD License - see the licenses folder for details.

Installation & Requirements

To install this library with composer, run this command :

composer require teknoo/east-translation

To start a project with Symfony :

symfony new your_project_name new
composer require teknoo/east-translation-symfony    

This library requires :

* PHP 8.2+
* A PHP autoloader (Composer is recommended)
* Teknoo/Recipe.
* Teknoo/East-Foundation.
* Teknoo/East-Common.

Contribute :)

You are welcome to contribute to this project. Fork it on Github

统计信息

  • 总下载量: 2.56k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-11-10