Download the PHP package domis86/translator-bundle without Composer

On this page you can find all versions of the php package domis86/translator-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package translator-bundle

domis86/TranslatorBundle

SensioLabsInsight

What is it ?

Symfony2 bundle which helps in translation.

A Symfony2 bundle which helps in editing of translations without need for editing the translations files. Edit can be performed via symfony WebDebugToolbar (translations from current request) or backend admin interface (all translations). Translations are stored in db and retrieved in a efficient way (+cached).

The Symfony2 WebDebugToolbar shows number of translations used in current request: Domis86Translator in WebDebugToolbar

If you click on it a Edit Dialog will appear where you can edit translations used in current request: Domis86Translator Edit Dialog

Tranlation missing - indicates that translation for this language is missing - click and add it!

Tranlation missing - Black text is current translation stored in db. Blue text means that it is translation loaded from file - via default Symfony2 Translator service (messages.en.yml etc). It will be used if there is no translation in DB.

In this example hello is translated to Hallo when language is germangerman, but when language is frenchfrench then it is translated to Bonjour (which resides somewhere in messages.fr.yml). Hit ( Click to edit ) above Bonjour to change it.

You can also browse [your_domain.com]/app_dev.php/domis86translator/backend to edit all translations used in your application.

Features

Installation

Add the domis86/translator-bundle package to your require section in the composer.json file:

Add the Domis86TranslatorBundle to your AppKernel:

Enable this bundle and configure managed_locales in your config.yml:

Enable Dialog for dev environment in your config_dev.yml:

Add routes in your routing_dev.yml:

Update your database:

Install assets

Optional config:

If your web server's DocumentRoot points to some other dir than symfony's /web dir then you can change domis86_translator.assets_base_path accordingly (default is /bundles/domis86translator/). Assuming your app.php url is http://localhost/uglydirectory/web/app.php then you should do:

Used libraries:

Latest Stable Version Total Downloads Latest Unstable Version License


All versions of translator-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
symfony/symfony Version >=2.6
symfony/framework-bundle Version >=2.3
doctrine/orm Version ~2.2,>=2.2.3
doctrine/doctrine-bundle Version ~1.2
twig/extensions Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package domis86/translator-bundle contains the following files

Loading the files please wait ....