Created
February 27, 2012 08:48
-
-
Save TMaYaD/1922613 to your computer and use it in GitHub Desktop.
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
I18n.extend Module.new { | |
def translate(*args) | |
print args.to_yaml | |
super | |
end | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I18n.translate('hello') should print "en.hello"