You can disable the translate of your cpt in polylang and use translated pages to display your cpt posts. In your page template, detect if the current language is english and use your custom translation code to display those translated fields.
I want an URL like : www.domainame.com/en/
You can set it up in the Polylang url settings and hide the default /fr/
[EDIT]
To display your cpt in a page template, see this answer. Read the documentation on how to build a custom query.
Related Posts:
- polylang translation of a custom post created by wp_insert_post()
- Polylang – Remove slug of homepage in secondary language
- Using variables in polylang string translations
- Display country flags with clickable links
- Polylang and United Arab Emirates languange
- Where Language settings stored in MySQL multilingual Polylang website?
- The requested resource does not support HTTP method ‘GET’
- How does routing on wordpress work?
- How to show all available images in WP’s media library when using the Polylang plugin?
- How to manually link posts to each other in WordPress
- custom theme: english .mo file not working
- Static raw HTML page
- detect the language a post is written in
- REST API: No route was found matching the URL and request method
- Capturing arbitrary semantic URL arguments
- In wordpress I am manipulation 404 response. I want to give the response before 404 error is given to google
- WordPress and VueJS routing problem
- How make a multi language routes, with rewrite rules or rewrite endpoints?
- Get Polylang available languages on admin page of my plugin [closed]
- Custom URL routing based on cookie value
- Polylang get non-current language/s
- How to display on the blog page the posts corresponding to the selected language, using Polylang
- .htaccess for wordpress in separate folder
- Custom URL rewrite to specific page template
- Polylang: pll_e() & pll__() on functions.php, doesn’t work
- Custom post type routing with hierarchy
- WordPress multilingual website domain and folders
- Is there a ‘rake routes’ for wordpress?
- How to display non-page / post content
- Using polylang, how can I see which post is the “original” and which are the “translated children”? [closed]
- Should I include colon in my msgid in PO file?
- RSS feed for deleted posts and comments
- Custom post ui plugin & WP_Query – Polylang
- WordPress with Tor Onion Service (dual .com & .onion domains for same website)
- Hide Polylang metabox from the post edit sidebar
- How to get the webshop page in 2:nd language, with Polylang and Hyyan
- Read GET parameters in APACHE Mod Rewrite rules for WordPress categories in Posts
- Changing the search url according to language
- How to show the root webpage on all subpaths
- React Router with WordPress
- How to import multiple language mutations to polylang?
- Polylang non-default language ignores tags in WP_Query
- how to trace a file by the route url
- WP_Query post_parent parameter always returns children of current page
- display dynamic content based on url slug on custom page
- get_comments not working consistantly with post_id
- Get the ID of the default language equivalent page in Polylang [closed]
- Polylang not translating Metabox fields [closed]
- Get posts by language in Polylang plugin
- Custom post type as child of page
- What php files handles routing?
- wordpress url correction
- Polylang : Display term archive even if no posts
- Multilanguage website get the title, on different languages
- How to translate custom Divi module using POEDIT and Polylang [closed]
- Changing the Organize Series Listing Pages
- How to add a route?
- One Page or Post, n Slugs
- How to translate widget titles in 2021 theme?
- no_rest_route error on custom routes
- How to display translated content with custom slug?
- Translate website without duplicate custom post
- String translation for esc_html__() when registering string [closed]
- Custom route and extract data from slashes and parameter
- Filter language in Polylang for custom taxonomy
- different domains disabled in polylang
- How to change all routes with language codes
- Page Template Selector Error
- Polylang will not allow changing of language without translation
- Polylang and template files
- wp_get_nav_menu_items doesn’t return custom post type item
- Update around 200,000 posts
- How to intercept not found URL, parse it, and generate dynamic result?
- How I can make category url
- Define a new sub-folder naming – Multisite
- Add specific route for Custom Post Type (add/edit…)
- phantom language switcher
- Polylang plugin translation problems
- Function get_locale always returns en_US in plugin?
- WordPress dynamic subpage for ACF
- Redirect sub-page URLs to parent without changing URL
- Internationalize Forum Posts Without Translating Them
- Static home page ignored
- wp_nav_menu custom Page class
- How to create “page” used for generating PDF? [closed]
- why custom post archive gives always no more than 10 posts despite of paging settings?
- How to print redirected query string variables to the page?
- Pages throwing 404 error on server load
- Route to custom file
- Run A Pre-Built Core PHP Application Under A WordPress Page or Post Route
- Extend page routing with custom parameters
- Polylang – display one post into 3 categories with different lang [closed]
- Keeping shortcode-generated widget and theme element in one line [closed]
- How to Create Custom Route to a page in WordPress
- What is the difference between unicast, anycast, broadcast and multicast traffic?
- How to reload default Mac OSX routing table without rebooting
- Problem with custom WordPress Rest API search route with query parameters
- An script/Plugin for automatic page creation per term
- WordPress + Polylang – Error 404 when trying to preview draft post on different language
- Duplicate Slugs on multilingual site (with Polylang)