Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Mobile menu translation

9 years 2 months ago
  • Guido's Avatar
    Topic Author
  • Guido
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 7
Licenses:
JomSocial Active

ISSUE SUMMARY:
I am part of the german translation team of Transifex. If you click on the user icon in mobile menu the submenu is not translated. Can these tags please be taken from the main translation file?

STEPS TO REPLICATE:
1 Check mobile view.
2 The user icon has a submenu

RESULT



EXPECTED RESULT
Translated from main translation file (tags are translated in transifex)

Attachments:
9 years 1 month ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

For menu translation you should use this method documentation.jomsocial.com/wiki/Translate_Toolbar

thank you

9 years 1 month ago
  • Guido's Avatar
    Topic Author
  • Guido
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 7
Licenses:
JomSocial Active

I am sorry, but it's not that easy. The lines are hardcoded for mobile view in components/com_community/templates/jomsocial/layouts/toolbar/base.php and not changable in joomla menu:

<div class="joms-menu--user">
    <ul>
        <li><a href="<?php echo CRoute::_('index.php?option=com_community&view=profile'); ?>">My Profile</a></li>
        <li><a href="<?php echo CRoute::_('index.php?option=com_community&view=profile&task=editPage'); ?>">Customize My Page</a></li>
        <li><a href="<?php echo CRoute::_('index.php?option=com_community&view=profile&task=preferences'); ?>">Preferences</a></li>
        <li><a href="<?php echo CRoute::_('index.php?option=' . COM_USER_NAME . '&task=' . COM_USER_TAKS_LOGOUT . '&' . JSession::getFormToken() . '=1&return=' . $logoutLink); ?>"><?php echo JText::_('COM_COMMUNITY_LOGOUT'); ?></a></li>
    </ul>
</div>

Should be like
<div class="joms-menu--user">
    <ul>
        <li><a href="<?php echo CRoute::_('index.php?option=com_community&view=profile'); ?>"><?php echo JText::_('COM_COMMUNITY_PROFILE'); ?></a></li>
        <li><a href="<?php echo CRoute::_('index.php?option=com_community&view=profile&task=editPage'); ?>"><?php echo JText::_('COM_COMMUNITY_CUSTOMIZE_MY_PAGE'); ?></a></li>
        <li><a href="<?php echo CRoute::_('index.php?option=com_community&view=profile&task=preferences'); ?>"><?php echo JText::_('COM_COMMUNITY_EDIT_PREFERENCES'); ?></a></li>
        <li><a href="<?php echo CRoute::_('index.php?option=' . COM_USER_NAME . '&task=' . COM_USER_TAKS_LOGOUT . '&' . JSession::getFormToken() . '=1&return=' . $logoutLink); ?>"><?php echo JText::_('COM_COMMUNITY_LOGOUT'); ?></a></li>
    </ul>
</div>

9 years 1 month ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Ah thank you for the pointer, I will report it.

Cheers!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW