Skip Navigation

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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 10 replies, has 2 voices.

Last updated by Long Nguyen 23 hours, 14 minutes ago.

Assisted by: Long Nguyen.

Author Posts
November 14, 2024 at 11:46 pm #16405338

jeffB-12

Background of the issue:
I am working on a site under development and trying to translate the employer dashboard page using WPML. The page URL is hidden link. Additionally, I need help with editing footer translations, which don't seem to be handled by the string editor.

Symptoms:
The entire content of the employer dashboard page disappears when attempting to translate it.

Questions:
How can I translate the employer dashboard page without losing its content?
How can I edit footer translations if they are not handled by the string editor?

November 15, 2024 at 6:58 am #16405811

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Jeff,

Thank you for contacting WPML support, I’m happy to help you with this issue.

The plugin "WPJobBoard" isn't available in our list of compatible plugins https://wpml.org/plugin/
so it could be a compatibility issue between WPJobBoard and WPML. To be able to report the compatibility issue we need to replicate the issue on a clean installation. I created a clean installation of WordPress, WPML, and all necessary WPML add-ons. You can access the WordPress dashboard using this link
hidden link

Kindly follow the steps below:

- Don’t restore your site there.
- Install WPJobBoard plugin.
- Try to replicate the issue with minimal steps.
- Then let me know the steps to replicate it.

Regarding the footer, I see that you use Divi builder to create the footer template. I suggest you go to WPML > Translation Management to translate the Divi template and check the footer on the translation page. Please follow the documentation https://wpml.org/documentation/theme-compatibility/divi-builder/

Looking forward to your reply.
Thanks

November 15, 2024 at 7:01 pm #16409539

jeffB-12

Thanks Long.

Ive set this up here with default theme: hidden link

you will see the blank page the same here.

November 18, 2024 at 2:00 am #16412400

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I can see the issue on the sandbox site. I'm discussing this compatibility issue with our 2nd tier support and I will update you here when I have something to share.
Meanwhile, you can help us move forward by contacting the plugin WPJobBoard author and asking them to join our Go Global program, where our Compatibility developers will help them make their product compatible with WPML.
https://wpml.org/documentation/support/go-global-program/

Thanks for your co-operation.

November 21, 2024 at 1:28 am #16426982

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Our 2nd tier support found a way to show the employer dashboard on the translation page, please follow the workaround below and let me know if it helps:

1. Edit the file /wp-content/plugins/wpjobboard/framework/ProjectAbstract.php

2. Around line 210, replace the code

        if(isset($config[$param]) && (!empty($config[$param]) || is_numeric($config[$param]))) {
            return $config[$param];
        } else {
            return $default;
        }

with this one

        if(isset($config[$param]) && (!empty($config[$param]) || is_numeric($config[$param]))) {
            // workaround WPML for compsupp-7696
            if(is_numeric($config[$param])){
                $config[$param] = apply_filters( 'wpml_object_id', $config[$param], 'page', true );  
            }      
            return $config[$param];
        } else {
            return $default;
        }

❌ IMPORTANT: Please backup your database and website before proceeding ❌

If it works on your site, please also help us report this issue to the plugin author and ask them to join our Go Global program, where our Compatibility developers will help them make their product compatible with WPML.
https://wpml.org/documentation/support/go-global-program/

Thanks.

November 22, 2024 at 8:36 pm #16435231

jeffB-12

Thank you, this worked for the first page!

however the tabs within are still not showing, eg the buttons on that page lead to: hidden link which is blank. Can we modify it as well? all these need to be translateable

November 22, 2024 at 11:31 pm #16435444

jeffB-12

Sorry let me know if this need a new ticket, but there’s also the issue with the email contents, they aren’t translated an I don’t see how to have WPML handle translations for them.

November 25, 2024 at 1:43 am #16437715

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Can you please replicate the issue on the sandbox site that I shared above? I don't see that issue with the "Post a job" page. This plugin isn't compatible with WPML so you will experience many issues when using it and WPML.

Also, as you can see, the fix for the issue is added to their plugin source code, not to WPML itself. So, for a long-term solution, I recommend you contact the plugin author and ask them to join our Go Global program, where our Compatibility developers will help them make their product compatible with WPML.
https://wpml.org/documentation/support/go-global-program/

Thanks for your co-operation.

November 25, 2024 at 5:58 pm #16441620

jeffB-12

Hi Long,

Thanks, here's the page which the issue is on:
hidden link

if we leave the permalink as the english version it works fine, but when translating to french the other pages break is the issue.

Thanks

November 26, 2024 at 2:45 am #16442360

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I'm asking our 2nd tier support to check the issue with the translation "job-add" page to show the form.
Meanwhile, for a long-term solution and to prevent fixing issues one by one, I recommend you contact the plugin author and ask them to join our Go Global program, where our Compatibility developers will help them make their product compatible with WPML.
https://wpml.org/documentation/support/go-global-program/

Thanks.

November 28, 2024 at 1:21 am #16452114

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Our 2nd tier support found the same workaround, we suggest you use the same slug for the translation page like this hidden link

Also, we recommend you use a job board plugin that is compatible with WPML so you won't experience some compatibility issues when using it. For example: WP Job Manager, refer to the documentation https://wpml.org/documentation/plugins-compatibility/translating-wp-job-manager-using-wpml/

Thanks.