Usage for Laravel applications

1. Install

  • Add dependencies using composer require tio/laravel.
Code and documentation on translation/laravel

2. Configure

  • Sign up (or Sign in).
  • Create a project.
  • Copy translation.php to config/.
  • Execute php artisan translation:init to push your existing keys and translations.

3. Work

  • Write text using __('some.keys'), __('source text') or GetText.
  • Execute php artisan translation:sync to push new keys and get new translations.
  • Translate or have it translated by others.

Repeat step 3 and relax

Ready to adopt a smooth translation process?

Sign up