tomatophp / filament-translations

Manage your translation with DB and cache
https://tomatophp.com/en/open-source/filament-translations
MIT License
41 stars 16 forks source link

Allow users to customize the translation resource #18

Closed Baspa closed 3 months ago

Baspa commented 3 months ago

This PR adds a way to override / extend the current TranslationResource. I added this because I wanted to check on user roles in the shouldRegisterNavigation which isn't possible at this moment.

Please let me know if I can do anything to get this PR approved.

3x1io commented 3 months ago

hi @Baspa thanks for your PR, you can do the same idea in a lot of ways without making the resource on the config but sometimes it can be a good way. so thanks for your work