21293 Posts in 5733 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » SS v2.3.2 does not recognize this: <% sprintf(_t('SHOWINPAGE','Show page in %s'),$Locale.Nice)%>
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 661 Views |
-
SS v2.3.2 does not recognize this: <% sprintf(_t('SHOWINPAGE','Show page in %s'),$Locale.Nice)%>

2 August 2009 at 11:45pm Last edited: 3 August 2009 2:57am
I am trying to include the language switching function in v2.3.2, the code provided in doc works, but it did not recognize
<% sprintf(_t('SHOWINPAGE','Show page in %s'),$Locale.Nice) %>
this code should translate to 'Show page in <name of available language>'
Please help!
What is the best way to switch languages?
Thanks!!!
| 661 Views | ||
|
Page:
1
|
Go to Top |

