I have a question about using Laravel's Localization correctly, I have an application in Portuguese and I have to translate it into English. My doubt is the following ex:
<h2>Isso será apenas um teste não fique bravo</h2>
I created a translator.php file inside the resources / lang / en / translator.php folder, which has the following code:
<?php
return [
//**dúvida aqui** Na documentação pede para criar um array com a palavra original sendo a chave e a tradução sendo o valor ex:
'apenas' => 'only'
]
?>
As I have this phrase contained in h2, do I have to translate word for word or do I have to translate the entire sentence at once?