Closed WillianDamasceno closed 9 months ago
Hi @WillianDamasceno I will ask our team member @pxpm to check about this feature request.
Cheers.
Hey @WillianDamasceno it's done in 2.0.2.
Thanks 🙏
Hey @pxpm, it's working as expected, thank you so much :)
Feature Request
Add pt-BR translation
There is only support for
pt
translation natively.How I see it implemented
Just duplicate the folder
pt
with the namept-BR
.What I've already tried to fix it
I was able to solve the problem adding the translation file to the
resources/lang/vendor/backpack.activity-log/pt-BR/activity_log.php
folder.But it took a white to find out that it should be done like this. It worked after a lot of different approaches, so in my opinion, the module should provide the
pt-BR
translation since it's the same as thept
one.Would I be able to work on this myself and submit a PR
Yes, I can solve the problem by just duplicating the folder
pt
with the namept-BR
.My native language is Brazilian Portuguese, I've checked the Portugal Portuguese translation, and it matches the
pt-BR
translation.One of the things I've tried to test was renaming the
pt
folder topt-BR
when it was still inside ofvendor
and it worked, so by just duplicating the folder with the namept-BR
would solve the problem for every one that needs Brazilian Portuguese in this module.