I’ve noticed that some code is missing if you want to use another language than English.
The file is located here :
(website) \templates\ja_mood\html\mod_community_hellome\default.php
Some lines should have Language code instead of text.
I’ve noticed 3 parts to modify :
- The Facebook login
Look the text in French I had to put instead of English :
<?php if($moduleParams->get('show_facebook')) {
echo '<div class="login-facebook"><span><i class="fa fa-facebook" aria-hidden="true"></i>Créer un compte avec Facebook</span>';
echo $fbHtml;
echo '</div>';
echo '<h6>';
echo Jtext::_('TPL_SIGN_IN_ACCOUNT');
echo '</h6>';
} ?>
2 and 3 : Forgot Username and Register : Look the text : I had to replace the text in English by the text in French :
<div class="help-account">
<?php if ($usersConfig->get('allowUserRegistration')) : ?>
<a href="<?php echo CRoute::_('index.php?option=com_community&view=register', false); ?>">
<span class="fa fa-user-plus" title="Créer un compte"></span>
</a>
<?php endif; ?>
<?php if($moduleParams->get('show_forgotusr')) { ?>
<a href="<?php echo CRoute::_('index.php?option=' . COM_USER_NAME . '&view=reset'); ?>"><span class="fa fa-user" title="Identifiant oublié?"></span></a>
<?php } ?>
</div>
-
This topic was modified 7 years, 3 months ago by rwlfr.
-
This topic was modified 7 years, 3 months ago by rwlfr.
-
This topic was modified 7 years, 3 months ago by rwlfr.