loc (str) public
Calls Ember.String.loc with the provided string. This is a convenient way to localize text within a template. For example:
Ember.STRINGS = { '_welcome_': 'Bonjour' };
<div class='message'> {{loc '_welcome_'}} </div>
<div class='message'> Bonjour </div>
See Ember.String.loc for how to set up localized string references.
Parameters:
-
str
String
- The string to format.
Please login to continue.