• Home
  • Blog
  • Showcase
  • Setup Docs
    • Sunshine Help
    • Flex Help
  • Support
    • Support Area
    • Contact us
    • Feedback
  • Connect
    • Newsletter
    • Twitter
    • Facebook
  • My Account
  • Flex
  • Sunshine
Support : Simple Pro Themes

Support : Simple Pro Themes

[Resolved] One Menu missing translation?

If you have purchased a product, please enter the email address that you used to register at time of purchase.
Log In
Lost Password

Create an Account
  • Your username must be unique, and cannot be changed later.
  • We use your email address to email you a secure password and verify your account.

Support › Forums › Sunshine Pro Theme › One Menu missing translation?

  • This topic has 4 replies, 2 voices, and was last updated 5 years, 1 month ago by lindebjerg.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 8, 2016 at 1:59 pm #967
    lindebjerg
    Participant

    I am about to translate the theme into German.
    But one of the Menus are missing the translation? please see screenshot:Top menu not translated?

    as you can see the first menu does not translate? I have checked in poedit:(

    Best Regards,
    Jesper

    March 8, 2016 at 2:27 pm #968
    Chinmoy Paul
    Moderator

    That text is coming via JavaScript.

    var mb_btn = '<button class="mobile-menu" id="mobile-menu" aria-pressed="false" aria-expanded="false" role="button">' + 
                    'Menu <span class="icon ion-drag close"></span>' + 
                    '</button>';
    March 8, 2016 at 2:29 pm #969
    lindebjerg
    Participant

    Okay? but how can I translate it?

    March 8, 2016 at 2:51 pm #970
    Chinmoy Paul
    Moderator

    Replace above code with this one

    var mb_btn = '<button class="mobile-menu" id="mobile-menu" aria-pressed="false" aria-expanded="false" role="button">' + 
                 WP.menuL10n + ' <span class="icon ion-drag close"></span>' + 
                 '</button>';
    March 8, 2016 at 3:07 pm #971
    lindebjerg
    Participant

    perfect, it rocks.
    Thank you for very fast response on all topics;)

    Please mark as resolved.

    Best Regards,
    Jesper

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Copyright © 2021 · Simple PRO Themes for Genesis Framework · About · FAQs · Contact · Affiliates