Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Forum Module /

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Problems with translation´s file


Reply


3 Posts   1045 Views

Avatar
jmperea

Community Member, 5 Posts

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

Avatar
baba-papa

Community Member, 279 Posts

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.

Avatar
baba-papa

Community Member, 279 Posts

17 August 2009 at 6:19pm

Try this as well:

_t('ForumLogin.ss.LOGGEDINAS','You\'re logged in as')