Filament Shield Languages
I have published the translations with the appropriate code i.e:
But after changing to a different language I only get rules e.g.
There are no translations. Anyone had a similar problem?
5 Replies
Did you remove any of the language files?
@Dennis Koch no
i can remove filament-shield folder and publish languages again from lang folder.
I've try to remove function from RoleResource.php to check the error with icon in polish language.
But it is unlikely to have an impact for this.
Wait. Did the translation work before publishing the translation files? Or are they just missing for your language?
Translations are available for my language. There is an error with the icon in my language:
I tried to change the icon in the translation but unfortunately the icon does not change, still the same error.
After removing the function in the vendor that handles this icon, the translation does not load. It looks as if they do not load in Polish (pl) from the beginning.
lol the problem is with filename...
Solution
it was filament_shield.php but it's need to be filament-shield.php