Only few fields are translated in the submit form page and and I don’t understand why. Any idea?
I’m not all that familiar with translation plugins myself. 🙁 Your best bet is probably to ask around in the Polylang forums and see if anyone else has encountered the issue before, which it seems like you’ve already done:
https://wordpress.org/support/topic/polylang-listify-wp-job-manager-submit-form
This thread looks like it might be helpful too:
https://wordpress.org/support/topic/wp-job-manager-form-field-titles-translation?replies=5
Sorry I can’t be of more help here!
Hi Adam,
Thanks for your answer, I’ve asking to polylang and listify but no answer from them about that.
The things i don’t understand is : why it’s works with a parameter of polylang and why doesn’t work with an other parameter :-/
If will tell you if I find something to solve that.
Thanks (and btw, great plugin 😉 ).
Hello,
did any of you have a success in solving this issue? I have the same problem and it’s really a pain in …
Thanx,
Guillaume
Hi Guillaume,
No… Polylang didn’t answer, you have the answer by Job-manager here and Listify support don’t seems to care a lot about this issue…
The better way to solve it is set the language from the content and rewrite the fields in function.php like this :
function custom_submit_job_form_fields( $fields ) {
$fields['job']['job_title']['label'] = __( 'Food Truck name', 'listify' );
$fields['job']['job_location']['label'] = __( 'Food Truck location', 'listify' );
$fields['job']['job_location']['description'] = __( 'Leave this blank if the location is not important', 'listify' );
$fields['company']['company_website']['label'] = __( 'Website', 'listify' );
$fields['job']['job_region']['label'] = __( 'Base Country', 'listify' );
$fields['job']['job_type']['label'] = __( 'Type', 'listify' );
$fields['job']['job_category']['label'] = __( 'Category', 'listify' );
$fields['job']['job_category']['taxonomy'] = 'job_listing_category';
return $fields;
}
And modify the .po files of all languages. This works fine.
BUT…
I don’t why for now but I have an issue for the category field.
Once is the good language, another time is another.
You can take a look of my website to have an idea :
http://www.sigaelfoodtruck.com
Br
Hi,
I had the same issue and was able to solve it. I do have WP Job Manager Field Editor installed as well. Thats’s where the issues were. You need to have string translations for Polylang installed as well. If any fields from the submit form are not showing, you have to edit them. The fields that are added to string translation anytime a field is updated are, label, description, and placeholder (soon to be more). If you don’t see them showing up under string translation, go back to that field, edit it and save it again. This should force the string to be added to string translation.
The only thing that still doesn’t work (bug that is currently being solved) is if any of those fields have an href. Other than that, all works fine.
The fields on top of the form that say “if you don’t have an account”… are looking at your WooCommerce plugin. In order for those to be translated, you need to make sure your ‘Account’ page is also translated and activated for those languages.
Hi, pj.riffaud
I have tried last two ways. And it didnt work. I see that on site pj.riffaud its work. I tried to make for resume manager.
I add this code in funtions.php in main folder of the theme
add_filter( 'submit_resume_form_fields', 'custom_submit_resume_form_fields' );
function custom_submit_resume_form_fields( $fields ) {
$fields['resume_fields']['candidate_name']['label'] = __( 'Name');
$fields['resume_fields']['candidate_name']['Placeholder'] = __( 'Write your name');
return $fields;}
And using Loco Translate trying to add string and translate it – but it doesn work.
pj.riffaud, please, can You help me?