[Resolved] Split: Uploads modes strings not showing translation
This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported an issue where the upload options in the WPForm on their English mobile site displayed in Romanian, despite the site being translated into English. Solution: We advised the client to ensure that the WPForm is fully translated. It appears that the translation might not have been applied or completed for the specific sections mentioned. We recommended following the detailed steps provided in our documentation on translating WPForms with WPML, which can be found here: https://wpml.org/documentation/related-projects/creating-multilingual-forms-using-wpforms-and-wpml/#translate-wpforms-with-wpml.
Additionally, we noted that the language displayed might also depend on the device settings, as our tests showed the options in English when the device's language was set to English.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Thank you.
Can you please open o new support ticket.
I translated automatic all the WPform content but when I am trying on English mobile version to upload the images from "Upload e-ticket or boarding pass" from "hidden link" I receive the 3 uploads modes still in Rumanian language. I attach you image.
I tried from 2 different mobiles. Please try yourself with your mobile, and you will see that in the EN language the text for: GALLERY/FILMING OR TACKING PICTURES/CHOOSE FILES - are still in Romanian language after clicking on the "Click or drag files to this area to upload"
I attache you mobile screen video and image. The video I cant upload.
You must click on: hidden link and go to the "Upload e-ticket or boarding pass " section and touch the "Click or drag files to this area to upload" a pop-up will load, and you will receive three options to upload your images from your mobile phone and the 3 options are in Romanian language.
I've checked on mobile but on my end, it shows English in both languages (those strings seem to be set by the device's language, in my case that is set to English).
I've tested it also on an Android device and it shows the device's native options.
Thank you.
Can you please open a new ticket regarding an error of wpml compatibility with another plugin.
I received the following error e-mail:
Howdy!
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, WPML Multilingual CMS.
First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
hidden link
To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.5.3
Active theme: Astra (version 4.6.5)
Current plugin: WPML Multilingual CMS (version 4.6.11)
PHP version 8.0.30
Error Details
=============
An error of type E_ERROR was caused in line 550 of the file /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/class-wpml-tm-ate-jobs-actions.php. Error message: Uncaught Error: Call to a member function get_original_document() on bool in /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/class-wpml-tm-ate-jobs-actions.php:550
Stack trace:
#0 /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/class-wpml-tm-ate-jobs-actions.php(172): WPML_TM_ATE_Jobs_Actions->getJobType(false, NULL)
#1 /home/megallos/planecashback/wp-includes/class-wp-hook.php(324): WPML_TM_ATE_Jobs_Actions->added_translation_jobs(Array, NULL, Object(WPML_TM_Translation_Batch))
#2 /home/megallos/planecashback/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#3 /home/megallos/planecashback/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1478): do_action('wpml_added_tran...', Array, NULL, Object(WPML_TM_Translation_Batch))
#5 /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1316): TranslationManagement->send_jobs(Object(WPML_TM_Translation_Batch), 'st-batch', NULL)
#6 /home/megallos/planecashback/wp-includes/class-wp-hook.php(324): TranslationManagement->action_send_jobs(Object(WPML_TM_Translation_Batch), 'st-batch')
#7 /home/megallos/planecashback/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#8 /home/megallos/planecashback/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/API/Batch.php(49): do_action('wpml_tm_send_st...', Object(WPML_TM_Translation_Batch), 'st-batch')
#10 /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/API/Batch.php(56): WPML\TM\API\Batch::WPML\TM\API\{closure}(Object(WPML_TM_Translation_Batch))
#11 /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/API/Batch.php(52): WPML\TM\API\Batch::send(Object(Closure), Array, Object(WPML_TM_Translation_Batch))
#12 /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/Dispatch/Strings.php(31): WPML\TM\API\Batch::sendStrings(Object(WPML\TM\Jobs\Dispatch\Messages), Object(WPML_TM_Translation_Batch))
#13 [internal function]: WPML\TM\Jobs\Dispatch\Strings::dispatch(Array, Object(WPML\TM\Jobs\Dispatch\Messages), Object(Closure), Array, 'ro', Array)
#14 /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(83): call_user_func_array(Array, Array)
#15 /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/classes/wpml-st/StringTranslationRequest.php(19): WPML\FP\{closure}(Array, 'ro', Array)
#16 /home/megallos/planecashback/wp-content/plugins/sitepress-multilingual-cms/inc/wpml-private-actions-tm.php(100): WPML\TM\StringTranslation\StringTranslationRequest::sendToTranslation(Array, Object(Closure))
#17 /home/megallos/planecashback/wp-includes/class-wp-hook.php(324): wpml_tm_add_strings_to_basket('')
#18 /home/megallos/planecashback/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#19 /home/megallos/planecashback/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#20 /home/megallos/planecashback/wp-settings.php(695): do_action('init')
#21 /home/megallos/planecashback/wp-config.php(103): require_once('/home/megallos/...')
#22 /home/megallos/planecashback/wp-load.php(50): require_once('/home/megallos/...')
#23 /home/megallos/planecashback/wp-admin/admin.php(34): require_once('/home/megallos/...')
#24 {main}
thrown
I checked the error with my hosting provider and they told us :
I'm sorry to hear that your site is generating an error from the plugin sitepress-multilingual-cms.
Upon reviewing the error message, it appears to be an issue within the plugin itself. I checked your hosting account and found no logged errors on the server side. Both the site and wp-admin are loading fine.
I recommend contacting the WPML plugin developers or support team to resolve this issue.
Thank you for your reply.
I tested and cleared all debog.log and now I have the following error in wpml>Languages>Language Url format error: Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 486
I also attach you screenshot.
Thank you
New threads created by Marsel Nikolli and linked to this one are listed below:
I made the update and I get new errors:
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 488
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 521
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 488
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 521
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 488
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 521
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 488
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 521
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 488
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 521
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 488
Warning: Undefined property: stdClass::$menu_id in /home/megallos/planecashback/wp-content/themes/astra/inc/extras.php on line 521