Skip to content

Instantly share code, notes, and snippets.

@tegansnyder
Created March 10, 2014 15:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tegansnyder/9467257 to your computer and use it in GitHub Desktop.
Save tegansnyder/9467257 to your computer and use it in GitHub Desktop.
Find extensions that include translation helpers
echo "Community Namespace"
echo "------------------------------------------"
cd app/code/community
for i in $(ls -d */)
do
echo ${i%%/} && fgrep -Rho --include='*.php' '__(' ${i%%/} | wc -l
done
echo
echo "Local Namespace"
echo "------------------------------------------"
cd app/code/local
for i in $(ls -d */)
do
echo ${i%%/} && fgrep -Rho --include='*.php' '__(' ${i%%/} | wc -l
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment