You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
variables: {{ localize(greeting) }} renders the localization of the greeting variable
template snippets: {{# localize }}Hello{{/ localize }} renders the localization of "Hello"
embedded variables: {{# localize }}Hello {{name}}{{/ localize }} localizes "Hello %@", and uses the result at a format string in which in injects the rendering of the name variable
As it is today, Localizer uses NSLocalizedString. Two areas of improvements are:
Make Localizer extensible so that it can be fueled by another localization engine than NSLocalizedString
Make it use a custom locale
The text was updated successfully, but these errors were encountered:
The Localizer filter brings localization to your mustache templates:
It can localize:
{{ localize(greeting) }}
renders the localization of thegreeting
variable{{# localize }}Hello{{/ localize }}
renders the localization of "Hello"{{# localize }}Hello {{name}}{{/ localize }}
localizes "Hello %@", and uses the result at a format string in which in injects the rendering of thename
variableAs it is today, Localizer uses NSLocalizedString. Two areas of improvements are:
The text was updated successfully, but these errors were encountered: