Problems translating CPT Names with WPML String Translation
This topic contains 17 replies, has 4 voices, and was last updated by jotomas 5 years ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
February 21, 2020 at 7:16 am #531528
Hello,
I am unable to translate the name of one of my GD CPTs (Activitats) using WPML String Translation. Although I scanned several times GD and GD Custom Posts addon plugins for strings, the name of this CPT is never found.
Am I missing some setting?
I look forward to your reply.
Thank you very much once again for your help.
Best regards.
February 21, 2020 at 12:58 pm #531576Have you tried this?
https://wpgeodirectory.com/docs/translating-custom-fields/February 21, 2020 at 1:19 pm #531582WPML > Settings > Multilingual Content Setup > Scroll to “Post Types Translation” > Make sure there that it is translatable.
Thanks
February 21, 2020 at 1:59 pm #531594Hi Alex, hi Guust,
Thank you very much for your replies.
Alex, I believe that the link that you provide is about GD V1 and old WPML versions. I can not find the WPML settings in the link in the current version. Instead, there are “Localization options” (screenshot attached).
Guust, I have set this GD CPT as translatable exactly like all other GD CPTs (screenshot attached).
I can not understand why WPML String Translation finds the strings in GD and GD Custom Posts of the other CPTs but not of this one.
I look forward to your news.
Thank you very much once again for your help.
Best regards.
February 22, 2020 at 2:09 am #531679Can we please have WPadmin details in a private reply.
ThanksFebruary 22, 2020 at 6:21 am #531693This reply has been marked as private.February 22, 2020 at 7:06 am #531694You translate the CPTs at WPML > Settings > Multilingual Content Setup > Scroll to “Post Types Translation” like in your image:
Is this what you are looking for?
https://inforoses.com/wp-admin/admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&search=activitats#icl-st-toggle-translationsWhat is it exactly what you are trying to translate?
February 22, 2020 at 8:27 am #531699Hi Guust,
Thank you very much for your reply.
No, I do not translate the CPTs names at WPML > Settings > Multilingual Content Setup > Scroll to “Post Types Translation” like in my image. I have attached the image to show that the specific CPT “Activitats” has been set as translatable and that its slugs have been translated from there.
I have translated the other CPT names from their corresponding page of the link that you enclose https://inforoses.com/wp-admin/admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&search=activitats#icl-st-toggle-translations
I noticed that, to get the CPT translated names show in the GD Search Box or in the WP Appearance – Menus – GD Endpoints CPT Archives options, the CPT name to be translated should appear in the WPML list of strings under the geodirectory domain, and in the case of CPT “Activitats” is the only in which it does not.
These are the links to other CPTs names strings translations:
I look forward to your news.
Thank you very much once again for your help.
Best regards.
February 24, 2020 at 11:17 am #531914This reply has been marked as private.March 5, 2020 at 8:50 am #533700This reply has been marked as private.March 5, 2020 at 11:53 am #533728Hi jotomas,
Can you provide a url & a screenshot that shows that text?
What is the correct string for “Activitats” in language:
CA :
SQ :
EN :
FR :
ES :Kiran
March 6, 2020 at 11:11 am #533978Hi Kiran,
Thank you very much for your reply.
The correct strings for “Activitats” in translated languages are the following:
CA : Activitats
SQ : Not used (language configured only to allow changing language of strings)
EN : Activities
FR : Activités
ES : ActividadesI also enclosed four screenshots:
a) WPML String Translation page for “Activitats” GD CPT. The string has been found only three times, none under gd, gd addons or userswp domains. All of them have been translated.
b) WPML String Translation page for “Menjar i Beure” GD CPT. The string has been found seven times. Five corresponding to gd, gd addons and userswp domains.
c) WP Dashboard – Appearance – Menus – GD Endpoints – CPT Archives in Main Language CA: String “Activitats” in CA is correctly shown, as it does in the GD Search box in the Main Language CA.
d) WP Dashboard – Appearance – Menus – GD Endpoints – CPT Archives in Translated Language ES: String “Activitats” shows in CA instead its translation in ES “Actividades”. Same thing happens in the GD Search box in the translated language ES.
I look forward to your news.
Thank you very much once again for your help.
Best regards.
March 12, 2020 at 11:00 am #534955Hi jotomas,
I checked with same WPML setup on my test site and it is working as expected there.
Can you provide FTP credentials to check more there?
Kiran
March 16, 2020 at 10:42 am #535385This reply has been marked as private.March 16, 2020 at 1:40 pm #535417Hi jotomas,
Please check and let us know.
Kiran
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket