For those that may stumble on this, please first read the link provided by @Kaperto
Which provided me with the syntax;
printf( _n('The %s page', 'The %s pages', $number, 'text-domain'), get_the_title() );
The examples in the link above cover most of what is needed when dealing with variables in translation strings
Related Posts:
- polylang translation of a custom post created by wp_insert_post()
- Polylang – Remove slug of homepage in secondary language
- Display country flags with clickable links
- How to make “virtual” translation with polylang installed (but without Polylang)
- Polylang and United Arab Emirates languange
- Where Language settings stored in MySQL multilingual Polylang website?
- 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
- custom theme: english .mo file not working
- create users to site with specific language
- detect the language a post is written in
- Get Polylang available languages on admin page of my plugin [closed]
- Polylang get non-current language/s
- How to display on the blog page the posts corresponding to the selected language, using Polylang
- WordPress multilingual site using page-id.php files
- Polylang: pll_e() & pll__() on functions.php, doesn’t work
- WordPress multilingual website domain and folders
- Header Button Chance Polylang Elementor
- 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]
- Replicating the WP_Query ‘s’ param with $wpdb
- How to link 2 categories (Sync)
- Should I include colon in my msgid in PO file?
- What to write in the htaccess in order to detect browser language and point accordingly?
- Custom post ui plugin & WP_Query – Polylang
- 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!
- Polylang post_translations key [closed]
- Changing the search url according to language
- 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
- WP_Query post_parent parameter always returns children of current 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
- Polylang : Display term archive even if no posts
- WP/WooCommerce multisite with polylang, product duplication between websites [closed]
- Multilanguage website get the title, on different languages
- How to translate custom Divi module using POEDIT and Polylang [closed]
- How to Customize Polylang Language Items
- How to copy [gallery] shortcode between posts using polylang [closed]
- Taxonomy filter under Polylang
- How to translate widget titles in 2021 theme?
- How to display translated content with custom slug?
- Translate website without duplicate custom post
- String translation for esc_html__() when registering string [closed]
- Filter language in Polylang for custom taxonomy
- Translate Post date (month) of china language
- different domains disabled in polylang
- Page Template Selector Error
- Polylang will not allow changing of language without translation
- Polylang and template files
- Update around 200,000 posts
- Multilanguage backend interface
- how to remember specific action/event for current user?
- phantom language switcher
- Polylang plugin translation problems
- Function get_locale always returns en_US in plugin?
- Internationalize Forum Posts Without Translating Them
- Static home page ignored
- Conditionally (cpt) filter previous and next_post_link
- wp_nav_menu custom Page class
- Multisite custom rewrite urls
- why custom post archive gives always no more than 10 posts despite of paging settings?
- Polylang non translatable custom taxonomy
- Language switcher with flags – Polylang WP plugin
- Polylang – display one post into 3 categories with different lang [closed]
- Keeping shortcode-generated widget and theme element in one line [closed]
- An script/Plugin for automatic page creation per term
- Translation related post text to Arabic
- WordPress + Polylang – Error 404 when trying to preview draft post on different language
- Duplicate Slugs on multilingual site (with Polylang)