yifei3212's avatar

Localisation in Lumen by using translation strings as keys?

I learnt that I can use trans() in Lumen from this post: https://laracasts.com/discuss/channels/lumen/how-to-use-localization-in-lumen

However, there is also a support for json translation files (resources/lang/en.json) in Laravel. How can I do that in Lumen?

0 likes
0 replies

Please or to participate in this conversation.