Download the PHP package backpack/translation-manager without Composer

On this page you can find all versions of the php package backpack/translation-manager. 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 translation-manager

Translation Manager

Total Downloads The Whole Fruit Manifesto

Translation Manager provides a simple user interface to help you deal with translations in your Backpack application. At a quick glance, some of the most relevant features are:

This package uses the battle tested spatie/laravel-translation-loader under the hood.

Preview

lm_list_view

Demo

Try it right now, edit some translations in our online demo.

Installation

In your Laravel + Backpack project:

1) Install the package using Composer:

2) Configure the application

If you already had spatie/laravel-translation-loader installed and configured, you can skip to the next step. Otherwise, follow along.

2.1) In your config/app.php you must replace Laravel's translation service provider:

2.2) You must publish and run the migrations to create the language_lines table:

3) Optional setup options

3.1) Add a menu item to menu_items.blade.php for easy access:

3.2) Publish the config files:

NOTE: We highly recommend you to use this package alongside Language Switcher package, so that you can easily switch between languages in your panel.

Usage

List View:

lm_list_view2

The list view displays a comprehensive list of all translations within your application. By default, all translations including vendor translations are displayed in the list view. If you don't want to see vendor translations, you can set the config option load_all_registered_translation_paths to false in config/backpack/translation-manager.php.

Additionally, if you have Backpack Pro installed, your admin can also see and use the filters, to quickly narrow down translations.

Edit View

lm_edit_view

Any translation can be edited by clicking the Edit button. It will open a page where the admin can input the new value, for all languages.

Once edited, the changes are saved to the database for persistence. All translations on the database have priority over the ones in the language files. This means that you can safely let your admin edit translations, in production. Your auto-deploys will continue working, because no files get edited, only DB entries.

Editable Columns

lm_editable_columns_view

If you have the Editable Columns package installed, the admin can directly edit translations within the List View. This provides an excellent UX - because they can translate everything much much faster, without having to switch pages.

If you don't want that behavior you can disable it in the config/backpack/translation-manager.php file by setting use_editable_columns => false. If you don't find that file, see above the optional steps to publish the config files.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

This project was released under MIT License, so you can install it on top of any Backpack & Laravel project. Please see the license file for more information.


All versions of translation-manager with dependencies

PHP Build Version
Package Version
Requires backpack/crud Version ^6.7
spatie/laravel-translation-loader Version ^2.8
outhebox/blade-flags Version ^1.2
calebporzio/sushi Version ^2.4
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 backpack/translation-manager contains the following files

Loading the files please wait ....