Dynamic translations module

keevitaja - 1 year ago


I wrote a module, which allows you to translate wordz'n lettters in the admin panel. Just add your translations and then use built-in trans() function.

The module loads all lines at the boot level into Laravels container. Just few extra queries.

Installation and usage information https://github.com/keevitaja/translations-module

ryanthompson - 1 year ago

Very cool!

keevitaja - 1 year ago

Eh. Just realized, that all validation error messages can be translated with this module as well.

Just create new bundle with slug validation and then add rules under it.