定制 pushull/pushull-translation-provider 二次开发

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

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

pushull/pushull-translation-provider

最新稳定版本:v1.0.5

Composer 安装命令:

composer require pushull/pushull-translation-provider

包简介

Symfony Pushull Translation Provider Bridge

README 文档

README

Software License

This bundle provides a Pushull integration for Symfony Translation.

It is a fork of m2mtech/pushull-translation-provider updated for Pushull specific implementation of weblate.

Installation

composer require pushull/pushull-translation-provider

If you are not using Flex enable the bundle:

// config/bundles.php

return [
    // ...
    Pushull\PushullTranslationProvider\PushullTranslationProviderBundle::class => ['all' => true],
];

Enable the translation provider:

# config/packages/translation.yaml
framework:
    translator:
        providers:
            pushull:
                dsn: '%env(PUSHULL_DSN)%'
                locales: ['en', 'fr', 'it']

and set the DSN in your .env file:

# .env
PUSHULL_DSN=pushull://PROJECT_NAME:API_TOKEN@PUSHULL_PROJECT_URL

Usage

bin/console translation:push [options] pushull
bin/console translation:pull [options] pushull

Testing

This package has been developed for php 7.4 with compatibility tested for php 7.2 to 8.1.

composer test

Changelog

Please see CHANGELOG for more information about recent changes.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please see SECURITY on how to report security vulnerabilities.

Credits

  • (c) 2022 m2m server software gmbh tech@m2m.at and their contributors
  • (c) Pushull Ltd

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-28