Hello @moinalqinna,
We apologize for the inconvenience.
In your screenshots, we are not getting any hyphen. Also, the name inside the applicant detail page is getting from the English attribute so that is why you are not getting it there. It can only display the text for English language users.
Regards,
Hello @presstigers,
Thank you for your reply.
In this attachment I’m sending you now, I highlighted the hyphen that appears instead of the name.
So just to be sure… is there a way to display the attribute from the Arabic as well, or this can’t be done?
Also, if you don’t mind, could you tell me what’s the issue? I mean, is it because the plugin is built this way or it’s an issue with WPML specifically?
Thanks in advance.
The page I need help with https://imgur.com/a/K3vDf79
Hello @moinalqinna,
Your application listing is customized and it depends upon the customization that you have done.
Can you please confirm it from your developer? How he is accessing the name of the user? If you are just translating then there should no be the issue of meta keys. Right now we can’t say anything about the issue either its because of SJB or WPML. Your developer might help you there.
Regards,
-
This reply was modified 5 years, 11 months ago by
PressTigers.
Dear @presstigers,
Thank you so much for pointing out the customized listing, it turns out it really was the problem.
As you can see in the “Admin columns.png” image, I have chosen the “User Name” column to return the value of the “jobapp_first_name” field.
Now, this is a problem for me because, as you can see in the other 4 images, the field’s “name” and “id” attributes change according to the field name, example:
— If the field’s name is “First Name” and the translation is “الإسم الأول”, the English field will have a “name” and “id” attributes of “jobapp_first_name”, and the Arabic will have “jobapp_الإسم_الأول”. And since my custom field in the Admin Columns plugin is set to return the value of the “jobapp_first_name” field, it won’t return the Arabic field because its “name” and “id” attributes have changed.
I hope you could understand my explanation.
Do you have any suggestions on how I could overcome this issue? I would be very grateful.
P.S:
I tried adding more than 1 field for the same column, but that wasn’t doable.
The page I need help with https://imgur.com/a/d2HBQvU
Hello @moinalqinna,
You can conditionalize it based on the language code. If you are translating it through WPML it might be possible that are providing you the translation flag through which you can run both statements based on the language.
Please ask your developer to work in this direction. Let us know if we can assist you further.
Regards,