Antecedentes del problema:
I have created a Custom Post Type with ACF in the main language (Spanish), so the URL for the archive is: hidden link. I want to translate the slugs 'generadores-electricos' to Catalan and English. The translated URLs for the archive should be: hidden link and hidden link. The custom Post Type slug archive is registered as shown in this screenshot: hidden link.
Síntomas:
I can't manage to translate the slugs 'generadores-electricos' to Catalan and English.
Preguntas:
How can I translate the slugs for my Custom Post Type archive using WPML?
Thanks for your quick response. I did this, but the permalink you mentioned is for a single custom post (it's working fine, for example: hidden link). However, I want to translate the slug for the archive page: hidden link.
I tried making "Tipos de contenido (acf-post-type)" translatable, but it doesn't work, or I haven't figured out how to do it.
After that go to WordPress Dashboard > Templates and find the Elementor template you used to create the archive page.
Do a small change there and then click the pencil icon or circle icon to go to the advanced translation editor and you will see the slug there to translate.
I can help you out by checking the site myself. I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Alright, I haven't touched the acf-post-type, and I have a full backup of the website. I tried the solution you posted but couldn't get it to work, so I’ll give you access. However, I can't seem to find how to make this post private.
Please go back to the first message. In this chat, I told you that the slug in the archive is not set in Elementor. I set a custom slug in ACF advanced options. Is that slug translatable? How can I translate it?
There is a checkbox below the reply box that you can use to provide the login information.
From your explanation, I found out the option you have mentioned.
I created a WordPress installation, installed ACF Pro and ACF Multilingual and WPML.
Using ACF I created a post type called Movie. Then on the advanced options under the URL I have found the slug option for Archive and added movie-list.
Would you please enter the dashboard of that installation using the link below and confirm that I understood it correctly?
hidden link
By the way, I could not find a way to translate that option.
- I tested the custom field translation in WPML settings.
- String Translation.
- Admin text section of the String Translation.
I asked the second-tier support to see if they know if it is possible to translate that slug option.
I have got an answer from the second-tier support. It is not possible to translate that slug.
Thanks.
The topic ‘[Closed] ACF Custom Post Type slug Translation’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.