This is how i do it, if i want to show, where the translation for "billing" can be find and add it to the german translation (i work on the server with ssh):
grep -rin billing ./en_us/
Result:
./en_us/messages.php:20: 'billing category dnx' => 'Requested billing category does not exist in database',
./en_us/messages.php:232: 'success add billing category' => 'Billing category added successfully',
./en_us/messages.php:233: 'success delete billing category' => 'Billing category deleted successfully',
./en_us/messages.php:234: 'success edit billing category' => 'Billing category updated successfully',
...
Then the same for de_de:
grep -rin billing ./de_de/
Which has no results.
So i copy every line at the end of the file (line by line):
echo "'success edit billing category' => 'Billing category updated successfully'," >> messages.php
After that, i edit the file(s) and move the added lines to the array and translate the strings...
Yes, it might be easier, to fetch the directorys en_us and de_de and diff them with a gui-tool. But for a quick fix this method can be helpful.
