0
I have a question to use the Localization of Laravel 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.php translator 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 sentence contained in H2, I have to translate word by word or I have to translate the whole sentence at once ?