AI TranslatorSource: enLanguages: es, fr, de, it, pl, ptDomains: messagesTranslating from en to es: messages5 missing keys found: welcome, goodbye, dashboard.title, dashboard.stats, settings.profileTranslating in 1 chunks... (attempt #1 of 3)████████████████████ 100%Generated translations for messages from en to es:welcome: "Bienvenido a nuestra aplicación"goodbye: "Gracias por usar nuestro servicio"dashboard.title: "Panel de Control"...Writing translations for messages from en to esTranslating from en to fr: messages5 missing keys found: welcome, goodbye, dashboard.title, dashboard.stats, settings.profileTranslating in 1 chunks... (attempt #1 of 3)████████████████████ 100%Generated translations for messages from en to fr:welcome: "Bienvenue dans notre application"goodbye: "Merci d'utiliser notre service"dashboard.title: "Tableau de bord"...Writing translations for messages from en to fr# Continues for de, it, pl, pt...
AI TranslatorSource: enLanguages: es, fr, deDomains: auth, validation, messagesTranslating from en to es: authTranslating from en to es: validationTranslating from en to es: messagesTranslating from en to fr: authTranslating from en to fr: validationTranslating from en to fr: messagesTranslating from en to de: authTranslating from en to de: validationTranslating from en to de: messages
When translating multiple files to multiple languages, the command processes each file for each language sequentially, ensuring consistent context.
Use --skip-languages to exclude specific languages from translation:
php artisan translate --skip-languages=es,fr
This translates to all configured languages except Spanish and French.Example Use Case: You’ve manually edited Spanish and French translations and don’t want them overwritten.
AI TranslatorSource: enLanguages: es, fr, deDomains: auth, validation, messages# Translates:# - auth.php to es, fr, de# - validation.php to es, fr, de # - messages.php to es, fr, de