Last active
March 7, 2017 09:03
-
-
Save 0m3r/7578756 to your computer and use it in GitHub Desktop.
Find every translating string at Magento extension code Mage::helper('your_ext')->__('Email')
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep "('your_ext')-.__\(.*\)" -Roh .| sed "s/.*__([\"']//" | sed "s/[\"'].*//g" | sort | uniq | sed "s/\(.*\)/\"\1\",\"\1\"/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
find config