• Resolved tortoll

    (@tortoll)


    Hi,

    I have a WP network with sites in different languages. I observed that the Font Awesome menus wouldn’t work in a site in Spanish. I found that it was rendering the following HTML:

    <script type='text/javascript'>
    /* <![CDATA[ */
    var menú_iconos = {"icons":["dashicons-menu", ...
    /* ]]> */
    </script>

    As you can see, instead of “menu_icons” was rendering “menú_iconos”, which caused the whole script to fail.

    It can be fixed replacing this line in themeisle-companion/obfx_modules/menu-icons/init.php:

    $this->name = __( 'Menu Icons', 'themeisle-companion' );

    with this one:

    $this->name = 'Menu Icons';

    I suspect that this is happening also in other modules.

    • This topic was modified 7 years, 3 months ago by tortoll.
    • This topic was modified 7 years, 3 months ago by tortoll.
Viewing 1 replies (of 1 total)
  • Hi @tortoll,

    Can you share a screenshot where the script appears?
    I tried pinpointing that script testing out with WP in Spanish but couldn’t find it.

    Thank you in advance for your reply.

Viewing 1 replies (of 1 total)

The topic ‘[FIXED] Bug in localized sites’ is closed to new replies.