lundi 8 août 2016

Laravel Localization test

I'm working on a localization project,and I'm planing to do unit test for every module that I'm localizing,my architect of translation is default laravel translation ,but I have customized it to load my language files from s3 bucket.My problem is when I'm translating how can I see every elements of view file have language tag rather then content

eg: <label></label> rather then <label>Name</label>

same as any tags inside the blade have to test is it have a language tag and the is the tag return a value form language file

Aucun commentaire:

Enregistrer un commentaire