Skip to content

Commit

Permalink
The documentation about internationalization in templates in topics/i…
Browse files Browse the repository at this point in the history
…18n.md did not match how the parser works. Related to ticket #7706.
  • Loading branch information
jakr committed Jul 29, 2012
1 parent b84a170 commit 4abe6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/topics/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ which might vary depending on the used language.

:::php
// in SS-template ($Name must be available in the current template-scope)
<%t MYPROJECT.INJECTIONS "Hello {name} {greeting}" name="$Name" greeting="good to see you" %>
<%t MYPROJECT.INJECTIONS "Hello {name} {greeting}" name=$Name greeting="good to see you" %>

Note that you can still use `sprintf()` wrapped around a `_t()` call
for your substitutions. In contrast to `sprintf()`, our API has a more translator friendly
Expand Down

0 comments on commit 4abe6be

Please sign in to comment.