Created
January 28, 2010 16:56
-
-
Save ptzn/288917 to your computer and use it in GitHub Desktop.
js sample of getting i18n messages
This file contains hidden or 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.t("foo.bar"); // -> "baz" | |
I18n.t("nested.hash"); // -> "value" | |
I18n.t("message.times", {count: 3}); // -> "3 times" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment