Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 2.11 KB

Readme.md

File metadata and controls

55 lines (41 loc) · 2.11 KB

Adapter for Transifex

Latest Version Build Status Code Coverage Quality Score Total Downloads

This is an PHP-translation adapter for Transifex.

Install

composer require php-translation/transifex-adapter
Symfony bundle

If you want to use the Symfony bundle you may activate it in kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Translation\PlatformAdapter\Transifex\Bridge\Symfony\TranslationAdapterTransifexBundle(),
    );
}

If you have one Transifex project per domain you may configure the bundle like this:

# /app/config/config.yml
translation_adapter_transifex:
  projects:
    my_proj:
      domains: ['messages'] 
    my_nav:
      domains: ['navigation']

This will produce a service named php_translation.adapter.transifex that could be used in the configuration for the Translation Bundle.

Documentation

Read our documentation at http://php-translation.readthedocs.io.

Contribute

Do you want to make a change? This repository is READ ONLY. Submit your pull request to php-translation/platform-adapter.