Our application is designed to support multiple languages, allowing our customers to easily translate the entire application.
This means that if you, our customer, want to translate the application from English to your preferred language, you will not have to translate each individual template or resource that displays content.
Instead, you just have to make a copy of the current English JSON file, generate a new file with your language's 2-digit ISO code, and then translate all the sentences in that new file. Additionally, you should duplicate the "en" folder into a new folder with a name based on your language's 2-digit ISO code and translate the files inside that folder.
Example of the structure-wise after adding French Language:
lang/
lang/fr.json
lang/fr/auth.php
lang/fr/pagination.php
lang/fr/passwords.php
lang/fr/validation.phpEnsure that when translating to your language, you do not translate variables within the text that are preceded by a ":", such as ":number", ":value", ":attribute", ":name", etc.
Once you are satisfied with the translation, you can enable the new language in the general settings within the administrator control panel.