PHPackages                             jlaso/translations-apibundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. jlaso/translations-apibundle

ActiveBundle[Localization &amp; i18n](/categories/localization)

jlaso/translations-apibundle
============================

Client API for https://www.tradukoj.com

7444[2 issues](https://github.com/jlaso/translations-apibundle/issues)1PHP

Since Aug 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jlaso/translations-apibundle)[ Packagist](https://packagist.org/packages/jlaso/translations-apibundle)[ RSS](/packages/jlaso-translations-apibundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (5)Used By (1)

[![Latest Stable Version](https://camo.githubusercontent.com/cce84e746729e38d225fe0f2bd8759657480766061e5e4a09f1c14bbcbfe36b9/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f7472616e736c6174696f6e732d61706962756e646c652f762f737461626c652e737667)](https://packagist.org/packages/jlaso/translations-apibundle) [![Total Downloads](https://camo.githubusercontent.com/eb6be267f059af875fa7807e7175f7ed17753fa0949b9af32e96f95acccbf8fb/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f7472616e736c6174696f6e732d61706962756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/jlaso/translations-apibundle) [![Latest Unstable Version](https://camo.githubusercontent.com/c86b10349296e461fdd4389a3b42877fca941aab6243d51f621c9ec1573f01e6/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f7472616e736c6174696f6e732d61706962756e646c652f762f756e737461626c652e737667)](https://packagist.org/packages/jlaso/translations-apibundle) [![License](https://camo.githubusercontent.com/1f988807c949e9e3bfebbf0f27fb4692c12855f459c584a5b230533f5aaa0cd5/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f7472616e736c6174696f6e732d61706962756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/jlaso/translations-apibundle)

Overview
========

[](#overview)

This bundle permits API comunication with

In order to install this bundle you need to pay attention with requiremens:

```
php > 5.3.7
php-lzf extension must be installed (try sudo pecl install lzf)

```

Installation
------------

[](#installation)

Checkout a copy of the code:

```
// in composer.json
"require": {
    // ...
    "jlaso/translations-apibundle": "*"
    // ...
},

```

Then register the bundle with your kernel:

```
// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new JLaso\TranslationsApiBundle\TranslationsApiBundle(),
    // Excel Bundle
    new Liuggio\ExcelBundle\LiuggioExcelBundle(),
    // ...
);

```

Configuration
-------------

[](#configuration)

```
// in app/config/parameters.yml
###############################
##   TRANSLATIONS API REST   ##
###############################
jlaso_translations_api_access:
    project_id: 1 # the number that correspond to the project created
    key:  1234  # the key that systems assigns
    secret: 1234  # the password that you choose when init project in server
    url: http://www.tradukoj.com/app.php/api/

// in app/config/config.yml
translations_api:
    default_locale: %locale%
    managed_locales: ['es', 'en', 'fr', 'ca']  # the languages you want

and remember to enable translator in framework key
framework:
    translator:      { fallback: %locale% }

```

Usage
-----

[](#usage)

first schema:update to init database with SCM table:

```
app/console doctrine:schema:update --force --env=dev

```

now, fill the local database with the content of your translations/catalog.locale.yml files

```
app/console jlaso:translations:dump

```

and next upload your messages form local database to remote server

```
app/console jlaso:translations:sync --upload-first=yes
when you use the bundle first time is necessary the use the upload-first option in order to generate the remote db

```

Examples
--------

[](#examples)

For synchronize local translations with server (remote) translations:

```
app/console jlaso:translations:sync [--cache-clear] [--backup-files]

```

In the view

```
Currently only be used yaml files in src/Company/bbbBundle/Resource/translations/messages.xx.yml
with xx as locale, and bbb as bundle name,
same for translations resources of app located at app/Resources/messages.xx.yml

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f19216fd9d91bd7cfff14362e2ddb5728bd2d8f50d2e0174626fc61510ed33b?d=identicon)[jlaso](/maintainers/jlaso)

---

Top Contributors

[![jlaso](https://avatars.githubusercontent.com/u/1332197?v=4)](https://github.com/jlaso "jlaso (93 commits)")

### Embed Badge

![Health badge](/badges/jlaso-translations-apibundle/health.svg)

```
[![Health](https://phpackages.com/badges/jlaso-translations-apibundle/health.svg)](https://phpackages.com/packages/jlaso-translations-apibundle)
```

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
