So, I have a Laravel project that I wanted to translate from English to my language. The language file is in the PHP file and uses PHP Array formats. I have set it up for everything to display the language.
The thing is, it’s too time-consuming to translate it one by one from the file. I want to know if there is an automated translation for this.
The format looks like this:
<?php
return [
'Since_launch' => 'Since launch',
'Today' => 'Today',
'Yesterday' => 'Yesterday',
'Last_7_Days' => 'Last 7 Days',
'Last_30_Days' => 'Last 30 Days',
'This_Month' => 'This Month',
'Last_Month' => 'Last Month',
'Ref_of_cheque' => 'Ref of cheque',
];
I want to automate translation for the file. Because it’s so time consuming to translate it one by one.