938 Posts in 271 Topics by 291 members
Forum Module
SilverStripe Forums » Forum Module » Problems with translation´s file
Discuss the Forum Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 874 Views |
-
Problems with translation´s file

6 August 2009 at 8:11pm
Hello:
For example, the file ForumLogin.ss contains tags like: , _t('LOGGEDINAS','You\'re logged in as'), this key is conteined in the file en_US.php ,
$lang['en_US']['ForumLogin.ss']['LOGGEDINAS'] = 'You\'re logged in as';
But when I make any change in this key or other, it doesn't appear in the webpage. There are other keys that work correctly.
Can you tell why it happens?
Thanks
-
Re: Problems with translation´s file

17 August 2009 at 4:43am
If changes in the _t() or the translation file do not show any effect you are working on the wrong piece of code. Remember that you have to flush the template cache before any changes to the templates show in the browser.
-
Re: Problems with translation´s file

17 August 2009 at 6:19pm
Try this as well:
_t('ForumLogin.ss.LOGGEDINAS','You\'re logged in as')
| 874 Views | ||
|
Page:
1
|
Go to Top |


