laravel-google-sheet-i18n

Laravel Google Sheets I18n

Manage your Laravel language files using Google Sheets with effortless locale generation and auto-translation.

Getting Started

  1. Google Setup: Follow the Step-by-Step Google Setup Guide (with screenshots) to get your credentials.
  2. Install: Follow the Installation Guide to add the package to your project.
  3. Usage: See the Usage Guide for CLI and Web Dashboard instructions.

Quick Setup

If you already have a Google Sheet and Service Account JSON:

composer require momik/laravel-google-sheet-i18n
php artisan google-sheet-i18n:install

Then configure your .env:

GOOGLE_SHEET_I18N_ID=your_spreadsheet_id
GOOGLE_APPLICATION_CREDENTIALS=path/to/credentials.json

Run the sync:

php artisan translate:sheet es,fr