Download the PHP package andreazorzi/laravel-tolgee-translator without Composer
On this page you can find all versions of the php package andreazorzi/laravel-tolgee-translator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andreazorzi/laravel-tolgee-translator
More information about andreazorzi/laravel-tolgee-translator
Files in andreazorzi/laravel-tolgee-translator
Package laravel-tolgee-translator
Short Description Integrate Tolgee with your Laravel project
License MIT
Homepage https://github.com/andreazorzi/laravel-tolgee-translator
Informations about the package laravel-tolgee-translator
Laravel Tolgee Translator
This package simplifies the integration of Toglee on Laravel by adding commands and blade directives.
Installation
Getting started
Config
Commands
Export Keys
Export all project translations keys and save them into tolgee project, existing keys will not be overwritten.
Delete Keys
Delete all keys from the tolgee project.
Sync Translations
Sync the translations from Tolgee to your local project
Usage
To insert the translation into your project blade you can use the blade directive @tolgee($key)
If you want you can also get the translation by calling the the helper tolgee($key)
Those methods return the string on production environment and a html string on local environment. The html string provide a direct link to the tolgee translation
Sync Button
It is possible to insert a button to update translations directly on the page under testing
All versions of laravel-tolgee-translator with dependencies
spatie/laravel-package-tools Version ^1.18
laravel/framework Version ^10.0|^11.0|^12.0|^13.0