Download the PHP package kunicmarko/static-translations without Composer

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

Symfony Static Translations Bundle

This bundle helps you generate translation for static strings in symfony application.

Total Downloads Latest Stable Version Latest Unstable Version License

This bundle uses PHPOffice/PHPExcel bundle

PHPExcel bundle Requirements

Installation

1. Add to composer.json to the require key

2. Register the bundle in app/AppKernel.php

Command

php app/console generate:static:translations /path/to/excel/file languages

Command accepts 2 parameters, you can run it without parameters and then you get interactive console with help on how to use command

Parameters

1. Excel file

Provide path to your Excel file that has to end with .xlsx

Formating of Excel file ( can also be found here ):

A B
1 English German
2
3 About Us Über uns label.about
4 Contact Kontakt
5 Imprint Impressum form.imprint, default.language.source

We expect words for translation to start from line 3

You can add more languages, we only expect labels to be at last position

Labels are optional, there can be more than one label for same word, they just have to be divided by comma (,)

If you add labels, label names will be used for source tags in xml

If you want to use default language word for source and use labels for same word, you can use reserved word default.language.source and add it in labels part

2. Languages

We expect array of language codes, divided by space e.g. en de fr, use same order as in your excel file.

First language in array is source language and will be used for all source tags.


All versions of static-translations with dependencies

PHP Build Version
Package Version
Requires php Version ^5.2|^7.0
symfony/framework-bundle Version ~2.8|~3.0
phpoffice/phpexcel Version ~1.8.1
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 kunicmarko/static-translations contains the following files

Loading the files please wait ....