How to integrate with laravel lang files . #17
-
Hello andrewdwallo , I can see how this package works , but still I need to do it manually on laravel end in order to translate my system . Right now, I dont know how to integrate this with our resource folder lang . How did you append new translation on each lang folder . Do you mind share how would you use this in laravel project ? I have look at the erpsaas you did implement this, but I still dont understand how it works . |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Hey. Did you edit the file configuration setting in the configuration file for this package? You also need to make sure you use the |
Beta Was this translation helpful? Give feedback.
-
Translations are appended in each language folder just based on the text you have passed into the method I mentioned above. |
Beta Was this translation helpful? Give feedback.
-
You also need to use json language files. Or you can use cache. And of course you need to make sure you have AWS Translate integrated properly. |
Beta Was this translation helpful? Give feedback.
Anytime you use the method in your application, such as for a label in the form, the package automatically appends the translation to your language file. If you want to generate them based on what you have in your default language file, you can take a look at the commands you can run in the documentation.