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?
- Issue with Polylang on user profile page
- The requested resource does not support HTTP method ‘GET’
- laravel throwing MethodNotAllowedHttpException
- A potentially dangerous Request.Path value was detected from the client (*)
- 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
- WP_Query and polylang issue
- How to display a raw HTML page (bypassing WordPress theme, scripts, etc)
- custom theme: english .mo file not working
- Custom routes for custom post type?
- Static raw HTML page
- create users to site with specific language
- 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
- wordpress – load a template based on the URI
- how do i create a specific handler for a url?
- Redirect sub-pages to parent without changing URL
- 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
- Custom routing for plugins
- Debugging WP routing
- How to display on the blog page the posts corresponding to the selected language, using Polylang
- WordPress multilingual site using page-id.php files
- .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
- Child page in custom post throws 404 page not found
- Create a separate JS application for an individual post?
- Header Button Chance Polylang Elementor
- Is there a ‘rake routes’ for wordpress?
- How to display non-page / post content
- get_locale() behaving strange in same functions.php file
- Using polylang, how can I see which post is the “original” and which are the “translated children”? [closed]
- Multiple templates for a custom post type
- Routing dynamic numeric slug to custom template
- Replicating the WP_Query ‘s’ param with $wpdb
- How to link 2 categories (Sync)
- Should I include colon in my msgid in PO file?
- How can I have a page on a site that isn’t a ‘Page’ in the WordPress sense?
- RSS feed for deleted posts and comments
- What to write in the htaccess in order to detect browser language and point accordingly?
- 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
- Translations appear in the WP Customizer, but not on the website!
- Read GET parameters in APACHE Mod Rewrite rules for WordPress categories in Posts
- Polylang post_translations key [closed]
- Changing the search url according to language
- Add language prefix to permalinks
- How to show the root webpage on all subpaths
- React Router with WordPress
- How to import multiple language mutations to polylang?
- Posts gathered from WPEMatico feeds are being mixed in different languages. Polylang is used for language separation
- Polylang non-default language ignores tags in WP_Query
- Remove Category slug from link
- Multisite – Parent site with Polylang with different domains for each language [closed]
- polylang + category/tag custom language link
- 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
- Where and when does WordPress invoke routes
- Get the ID of the default language equivalent page in Polylang [closed]
- Polylang not translating Metabox fields [closed]
- Changing WordPress routing to load the same page for different URLs
- Get posts by language in Polylang plugin
- Custom post type as child of page
- How best to create a variation of an archive template work?
- What php files handles routing?
- WP custom routing does not work
- wordpress url correction
- WordPress plugin url for form submit
- Polylang : Display term archive even if no posts
- How to create custom dynamic url
- WP/WooCommerce multisite with polylang, product duplication between websites [closed]
- Multilanguage website get the title, on different languages
- Routing multiple routes to the default page
- How to translate custom Divi module using POEDIT and Polylang [closed]
- Index template always follows page_template() template?
- Changing the Organize Series Listing Pages
- How to Customize Polylang Language Items
- How to copy [gallery] shortcode between posts using polylang [closed]
- How to add a route?
- Taxonomy filter under Polylang
- WP Multisite – How to create a custom “router” for blog prefixes?