In v4.1, help contents (paragraphs on the right side of the user interface) are located inside /templates/weefive/desktop/help/ directory.
Unfortunately, these files are not language specific which means they do not support multi-language based on user preference. However, there's an easy way to make them supporting multi-language.
For example, let's make the help text of the user area > list browse screen multi-language:
- Edit /templates/weefive/desktop/help/help_user_lists.php file
The file content is:
Now, change it to:HTML Code:<h3>Subscriber Lists</h3> <p>Your subscriber lists are displayed on the left. Click any one of them to proceed.</p>
HTML Code:<?php if ($UserInformation['Language'] == 'EN'): ?> <h3>Subscriber Lists</h3> <p>Your subscriber lists are displayed on the left. Click any one of them to proceed.</p> <?php elseif ($UserInformation['Language'] == 'IT'): ?> <h3>Di elenchi di abbonati</h3> <p>Le vostre liste abbonati vengono visualizzati a sinistra. Fare clic su uno qualsiasi di loro di procedere.</p> <?php elseif ($UserInformation['Language'] == 'FR'): ?> <h3>Listes d'abonnés</h3> <p>Votre listes d'abonnés sont affichés sur la gauche. Cliquez sur l'un d'entre eux de procéder.</p> <?php endif; ?>



Reply With Quote