I am using Max MegaMenu Plugin to build the menu on our website. Our website exists in 4 languages - English, Hindi, Tamil, and Telugu.
We have created a menu for the main English page and then translated it for the above-mentioned languages. On desktop view, the menu appears perfectly.
However, in the mobile view, the Toggle Text for the Menu is still coming in English for all the translated languages (screenshots attached below). In the WPML string translation, the toggle menu text is not reflected for the "mega menu" domain.
We had reached out to the Max MegaMenu Plugin support and they suggested using the WPML shortcode plugin. We explored and found out that the plugin is too old (The last update was made almost 8 years back!).
Then we found some similar PHP snippet that registers a string with the WPML for translation and we were successful in doing that. Following is the snippet which we used:
function register_my_strings() {
if (function_exists('icl_register_string')) {
icl_register_string('megamenu', 'MENU', 'MENU');
}
}
add_action('init', 'register_my_strings');
This snippet registered the string successfully and we could translate it also. However, the toggle text is still coming in English in the mobile menu in translated languages.
Description of Screenshots attached below:
#1 - Shows how the Mobile Menu has been created (along with the Toggle Text)
#2 - Shows that toggle text "MENU" is registered with the WPML string translation using the above PHP snippet and has been translated into Hindi Language
#3 - Shows the mobile menu in which the Toggle Text is still showing up even after translating the registered text through WPML String Translation in Step#2
Kindly help with this. It will be deeply appreciated.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.
You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.
IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private response form looks like this: hidden link
Next time you reply, click "I still need assistance."
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Thank you very much for your cooperation!
The private reply form is now enabled again.
The topic ‘[Closed] Toggle Menu Text Not Translatable for Mobile View’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.