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 2w ago

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 31% 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

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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