PHPackages                             topview-digital/laravel-translation-helper - 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. topview-digital/laravel-translation-helper

ActiveLibrary[Localization &amp; i18n](/categories/localization)

topview-digital/laravel-translation-helper
==========================================

Laravel Translation Helper

1.1.2(7y ago)125MITPHPPHP ^7.1.0CI passing

Since Mar 15Pushed 3w ago2 watchersCompare

[ Source](https://github.com/robinhoo1973/laravel-translation-helper)[ Packagist](https://packagist.org/packages/topview-digital/laravel-translation-helper)[ RSS](/packages/topview-digital-laravel-translation-helper/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (16)Used By (0)

![GitHub release](https://camo.githubusercontent.com/e0d96e55da47714943b55d5453174e813d13c44d1b37fcf02865832bf00eabf0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f726f62696e686f6f313937332f6c61726176656c2d7472616e736c6174696f6e2d68656c7065722e737667)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a134726abfd76a7a3d8f2adb214480fbc85b81ac36ca838844e75e3e0c427087/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726f62696e686f6f313937332f6c61726176656c2d7472616e736c6174696f6e2d68656c7065722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/robinhoo1973/laravel-translation-helper/?branch=master)[![Build Status](https://camo.githubusercontent.com/51eed14c2b745e63856ad1aa0e2a36bbfc4fb43791cd7d9aa879361903885493/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726f62696e686f6f313937332f6c61726176656c2d7472616e736c6174696f6e2d68656c7065722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/robinhoo1973/laravel-translation-helper/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/1f805b54df4ca2dfdf525f8d3f89ab2fd1647bc98a0059ed20f65e11a70cdcb5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726f62696e686f6f313937332f6c61726176656c2d7472616e736c6174696f6e2d68656c7065722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Language](https://camo.githubusercontent.com/fbb0660076cdafb3f6a30f4275cf6effe20e42e9b84c9b4d146ed81073294713/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e67756167652d7068702d6f72616e67652e737667)](https://camo.githubusercontent.com/fbb0660076cdafb3f6a30f4275cf6effe20e42e9b84c9b4d146ed81073294713/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e67756167652d7068702d6f72616e67652e737667)![License](https://camo.githubusercontent.com/566e0343b8d21092cb89c813003d3d8639aac97cde5037e451c94f705a535b91/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f70766965772d6469676974616c2f6c61726176656c2d7472616e736c6174696f6e2d68656c7065722e737667)[![Total Downloads](https://camo.githubusercontent.com/27dd5bd93ab07ca17bbe3924eded5553bf9b02304bb2d3d51fac39a60b6d271e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f70766965772d6469676974616c2f6c61726176656c2d7472616e736c6174696f6e2d68656c7065722e737667)](https://packagist.org/packages/topview-digital/laravel-translation-helper)[![HitCount](https://camo.githubusercontent.com/42ed9413088d975d1b101f5cbf6c23f123e662f77ac777966d7ba5c379299795/687474703a2f2f686974732e6477796c2e696f2f726f62696e686f6f313937332f68747470733a2f2f6769746875622e636f6d2f726f62696e686f6f313937332f6c61726176656c2d7472616e736c6174696f6e2d68656c7065722e737667)](http://hits.dwyl.io/robinhoo1973/https://github.com/robinhoo1973/laravel-translation-helper)

Laravel Translation Helper
==========================

[](#laravel-translation-helper)

#### Localize the terms in your code and store translations in the tables or export to text files.

[](#localize-the-terms-in-your-code-and-store-translations-in-the-tables-or-export-to-text-files)

Implementations of inline translation for your strings required localization and archiving the translations int tables or exporting to text files, while you have google access and queue function enabled for default queue, it will help you to generate the other required languages automatically via google translation.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0
- MySQL &gt;= 5.7
- [Laravel](https://laravel.com/) &gt;= 5.6

Installation
------------

[](#installation)

Require the package via Composer:

```
composer require topview-digital/laravel-translation-helper

```

Laravel will automatically register the [ServiceProvider](https://github.com/robinhoo1973/laravel-translation-helper/blob/master/src/TranslationHelperServiceProvider.php).

### Publish Package

[](#publish-package)

After installation, please publish the assets by below commands

```
php artisan trans-helper:publish

```

### Configure Package

[](#configure-package)

Please config your settings in config/trans-helper.php file, it should looks like below

```
