API to store translations by key/locale with tags, plus a fast JSON export for frontends.
- Laravel 10/11.
- Set
TRANSLATION_API_TOKENin.env. - Migrate DB.
- Optional:
php artisan translations:seed 100000.
Send Authorization: Bearer <token>.
GET /api/translationsGET /api/translations/{id}POST /api/translationsPUT /api/translations/{id}DELETE /api/translations/{id}GET /api/export?locale=en&tags=web,mobile
- Unique per (
t_key,locale). - Export is streamed and cached; cache is flushed on writes.