anderluizferreira Posted June 15, 2022 Report Share Posted June 15, 2022 is there any way to translate to Portuguese from Brazil, or any help to do it? thanks Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 15, 2022 Administrators Report Share Posted June 15, 2022 Hi, there is a translation for that already https://github.com/nabeelio/phpvms/tree/dev/resources/lang/pt-br Set the lang to pt-br Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted June 15, 2022 Report Share Posted June 15, 2022 Also if you want something more precise like "br-br" you can just duplicate that "pt-br" folder, rename it and customize the translations as necessary. Then you need to use that language in your env.php (as APP_LOCALE, which is by default EN) Good luck Quote Link to comment Share on other sites More sharing options...
anderluizferreira Posted June 15, 2022 Author Report Share Posted June 15, 2022 I'm sorry because I'm new where can i find the folder to be replaced? Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted June 15, 2022 Report Share Posted June 15, 2022 if you want to use the provided "pt-br" translations edit your env.php file find APP_LOCALE=en line change it to APP_LOCALE=pt-br save the file go to admin section, then maintenance clean application cache visit your site, translation will be applied If you want to change the provided "pt-br" and have your own translation go to "resources/lang" folder duplicate "pt-br" folder, name it as you like (something like "br" or "br-br" will be ok) check the contents of that new folder edit the files with an editor without braking the syntax if you need to change something then apply the above process, but this time instead of APP_LOCALE=pt-br, use your own created folder name like APP_LOCALE=br or APP_LOCATE=br-br Good luck and God speed Quote Link to comment Share on other sites More sharing options...
anderluizferreira Posted June 15, 2022 Author Report Share Posted June 15, 2022 God's peace... It worked, I was very happy! Could you help me with more information? How do I change the logo Thank you so much again Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted June 15, 2022 Report Share Posted June 15, 2022 Sorry, I have no more time for today. You basically need to have some html and css (stylesheet) editing knowledge, best you need to study laravel theme basics if you want to edit the theme, logos, colors, style etc. Check forums and docs, also there are lots of answers in phpVms Discord (v7 questions channel, or addons channel) Good luck on that too Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.