I thought it might be nice to:
- output the file containing the missing translation
- support JSON output
I've prototyped this funtionality here, if you're interested: jbboehr#2
It currently doesn't handle keys found via findInArray, only via templates.
Path formatting is still off.
Sample output:
barbat
in sample2.blade.php
foobar
in sample.blade.php
in sample2.blade.php
global_key
messages.namespaced_key
{
"key": "barbat",
"locations": [
"sample2.blade.php"
]
}
{
"key": "foobar",
"locations": [
"sample.blade.php",
"sample2.blade.php"
]
}
{
"key": "global_key",
"locations": []
}
{
"key": "messages.namespaced_key",
"locations": []
}
I thought it might be nice to:
I've prototyped this funtionality here, if you're interested: jbboehr#2
It currently doesn't handle keys found via findInArray, only via templates.Path formatting is still off.
Sample output:
{ "key": "barbat", "locations": [ "sample2.blade.php" ] } { "key": "foobar", "locations": [ "sample.blade.php", "sample2.blade.php" ] } { "key": "global_key", "locations": [] } { "key": "messages.namespaced_key", "locations": [] }