Jump to content

Translate custom code


asd789789

Recommended Posts

<a href="#" class="scrollToTop">To top</a>

change

<a href="#" class="scrollToTop">{l s='To Top'}</a>

or

<a href="#" class="scrollToTop">{l s='To Top' mod='myshinymodule'}</a>

?

text - 'to top'

I create - fr.php - in my theme folder 'lang'.

Add code:

generate - http://www.md5.fr/

<?php

global $_LANG;
$_LANG = array();

$_LANG['myshinymodule_b29e5984cd12ebc977a12f4e1c57f12b'] = 'to top (french)';

return $_LANG;

what am I doing wrong?

Edited by templatejournal (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...