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.

This thread is resolved. Here is a description of the problem and solution.

Problem: I am looking for translating the following custom fields:
jobs fields
candidate fields
fields for recruiters
These fields are located at: jobs-settings-custom fields

Solution: I added this code to WPML -> Settings -> Custom XML Configuration and the issue seems to be solved:

<wpml-config>
    <admin-texts>
        <key name="cs_job_cus_fields">
            <key name="*"/></key>
        <key name="cs_plugin_options">
            <key name="*"/></key>
        <key name="cs_candidate_cus_fields">
            <key name="*"/></key>
    </admin-texts>
</wpml-config>

Relevant Documentation: https://wpml.org/documentation/support/language-configuration-files/

This topic contains 42 replies, has 2 voices.

Last updated by Carlos Rojas 12 months ago.

Assigned support staff: Carlos Rojas.

Author Posts
September 26, 2018 at 6:33 pm #2768421

floraP

Hello team,

I need some help with translation in a multilanguage website.

1. I am looking for translating the following custom fields:
jobs fields
candidate fields
fields for recruiters
These fields are located at: jobs-settings-custom fields

2. At the moment, all the packages are not translatable. You could have a look at:jobs-settings-packages (job credit, cv search, featured jobs, apply job package)

Thank you for your help.Tell us what you are trying to do?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

September 27, 2018 at 9:37 pm #2771894

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hello,
Thank you for contacting WPML support.

I kindly ask you to visit this link where you will find our official documentation on how to translate custom fields using WPML:
- https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

Please let me know if youneed further assistance and I will be more than happy to help.
Kind regards,
Carlos

September 29, 2018 at 10:33 am #2775530

floraP

Dear Carlos,

1, I did not find the fields at the “Custom Field Translation” section.

2. I found only the packages and i marked them as translatable, but even now i can not translate them

Thank you

September 30, 2018 at 4:04 pm #2776647

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,
Thank you very much for your feedback.

1.- Please describe the steps to follow in order to find/edit this custom fields.

2.- I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Best regards,
Carlos

October 1, 2018 at 5:59 pm #2779055

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,
Thank you very much for the information provided.

I checked the site and I can see the custom fields related to Jobs. In order to translate this custom fields you need to search the 'Meta key' value in WPML -> Settings -> Custom Fields Translation -> And set them to 'Translate'. See attached image as an example.

Regarding the other custom fields, could you tell me where do you add the values to this fields? Is there a post type for Recruiters or Candidates? If so, where can I edit it?

Best regards,
Carlos

October 1, 2018 at 9:00 pm #2779488

floraP

Hello Carlos,

How can i find this value and translate it ? i made it translatable at Custom Fields Translation, after that i did not find it at string translation. Also, the options must for each custom field be translated as well. I can add, modify or delete fields, so is there any code for that? Please see the photo (custom fields options)

There is on the top a bar where you could add a new custom field (see the photo). These values will be appeared in employer dashboard (recruiters) and in candidate dashboard (candidate fields).

Thank you

October 1, 2018 at 9:32 pm #2779545

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,
Thank you very much for your feedback.

I added this code to WPML -> Settings -> Custom XML Configuration and now you can translate the options in WPML -> String Translation:

<wpml-config>
    <admin-texts>
        <key name="cs_job_cus_fields">
            <key name="*"/></key>
    </admin-texts>
</wpml-config>

For more information about Language Configuration Files you can visit this page: https://wpml.org/documentation/support/language-configuration-files/

Could you tell me if the issue is solved?
Best regards,
Carlos

October 2, 2018 at 2:48 pm #2781930

floraP

Thank you for your help,

1. The issue is not resolved yet. I have translated the strings in the attached photo in string translation, but the translation does not come up in the front end.

2. Also, i need help for translating the packages (Package Title & Description)

Thank you.

October 2, 2018 at 5:21 pm #2782380

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,
Than you very much for your feedback.

1.- Could you describe the steps to see this issue in the frontend?

2.- I added the necessary code to WPML -> Settings -> Custom XML Configuration and now you can translate the packages in WPML -> String Translation.

Looking forward to your answer.
Best regards,
Carlos

October 3, 2018 at 7:45 am #2783742

floraP

Hello Carlos,

1. To be able to see this, you need to login as a candidate or employer. I could give you the credentials in the next private message.

2. Thank you! I have checked it and everything is alright

Thank you!

October 3, 2018 at 5:46 pm #2785425

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi,

I'm glad that you are able to translate the strings!

I have set your next answer private so you can provide the new credentials in a secure way.

Best regards,
Carlos

October 4, 2018 at 12:59 pm #2787557

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,
Thank you very much for the information provided.

I visited the site and I can see in WPML -> String Translations that the labels hasn't been translated. Could you translate this strings and let me know if the issue persists?

Note: I searched 'Career Level' and 'Executive' (See attached images).

Best regards,
Carlos

October 4, 2018 at 5:20 pm #2788373

floraP

Dear Carlos,

I just have translated the Career Level and all the options of this field, but the translation does not appear in the front end.

Please check it again.

Thank you

October 4, 2018 at 5:53 pm #2788475

floraP

There is a warning message in the dashboard about the executive value:

''
We have detected a problem with some tables in the database. Please contact WPML support to get this fixed.

Array
(
[language] => el
[context] => admin_texts_cs_job_cus_fields
[gettext_context] =>
[domain_name_context_md5] => 92a3db679c96f818c5d1369f8cd666a9
[name] => [cs_job_cus_fields][4091927][options][label]3
[value] => Executive
[status] => 0
[translation_priority] => optional
[allow_empty_value] => 1
)
''

October 4, 2018 at 6:08 pm #2788527

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,
I can see that the issue persists.

I have create a fresh new WordPress install with the WPML plugins. You can access using this link: hidden link

I would like to ask you to finish WPML setup in this test site and install the necessary plugins and themes and try to reproduce the issue in this new site.

Could you tell me if the issue persists there?

Best regards,
Carlos