Download the PHP package davidrojo/sf-translations-helper without Composer

On this page you can find all versions of the php package davidrojo/sf-translations-helper. 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 sf-translations-helper

symfony-translations-helper

Simple commands to manage translations in Symfony.

This bundle allows you to write missing translations from a yml file to another requesting the missing translations and storing them in the output file.

For each non found translation it will request the translation showing the field id and the original text to translate, making it very easy to update your translation files when you have added fields to them

** It currently only suports yml translations files

Contents

Installation

Just require the bundle with composer:

composer.phar require davidrojo/sf-translations-helper

And then add it to app/AppKernel.php:

Usage

Execute the command

php bin/console translations:helper [from_language] [to_language] [BundleName|File] [allowEmpty]

Arguments:

from              Origin language file (example: en)
to                Destination language file (example: fr)
file              Bundle name or the full path from current folder to the input file
addEmpty          Optional (true/false), Add empty values to the destination 
                  file if no translation is added (default: false)

Options:

--no-backup       If not present a .backup file will be generated if output file exists

Example

Contributions

Just open an issue or send a pull request and if it fits it will be integrated.

Donations

If you liked this bundle and saved you a little of time, you can:

;)


All versions of sf-translations-helper with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ~2.3|~3.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 davidrojo/sf-translations-helper contains the following files

Loading the files please wait ....