You can use sprintf
:
echo sprintf( __('Follow %s on Facebook', 'yanse'), get_bloginfo('name') );
Related Posts:
- Best location for theme translation files
- variables in translatable text
- load language file
- Override parent theme translation on child theme
- Do Child-Themes automatically load the Translation from the Parent-Theme?
- What is meant by __(‘page’,’twentytwelve’)
- Override parent theme translation on child theme
- How to tell a theme to use different .mo and .po files?
- Find proper “text domain” within theme
- How to configure PoEdit to pick up translation string?
- Translated my theme (translation not showing up)
- Inconsistent translation on a WP site
- How to put a Worpdpress theme in spanish (having the po file)?
- translation does not work for ‘Home’
- Translation not working after editing plugin template
- Where do I find (free) fully-internationalized themes? [closed]
- WordPress Baskerville 2 translation
- .PO file is found but I don’t see translations: how to debug the problem?
- Unable to find translations in WordPress theme
- How can I change the prev / next buttons text to Dutch?
- Theme Translation?
- Theme translates the_author_posts_link. How can I remove their translation?
- Theme translation not working
- How to use my .mo file in the Divi child theme instead of file in a parent /builder directory?
- Menu names not getting translated
- When translating not all string are present in POedit
- Display Today’s date outside the loop?
- My theme is not translated
- How to change background color in the Notepad++ text editor?
- How to change or add theme to Android Studio?
- WordPress frameworks and parent themes [closed]
- How to create .pot files with POedit?
- Opinions and recommendations on the best barebones base theme [closed]
- Translate a plugin using .po .mo files
- Remove JSON API links in header html
- Using OOP in themes
- Where can I download WordPress themes from? [closed]
- How can I allow the Editor Role to change Theme Settings?
- How to make a WordPress plugin translation ready?
- What are all the available parameters for query_posts?
- Customizing a WordPress theme without changing it?
- Where can I learn to create my own theme?
- How do I turn off self-closing tags for markup in WordPress (for HTML5, or HTML4, for example)?
- how to add version of style.css in wordpress
- Does WordPress work without a theme?
- What is the role and history of the $content_width global variable?
- Adding admin-ajax.php to the frontend. Good or bad idea?
- Theme localization of “slugs” (custom post types, taxonomies)
- How to move the sidebar in TwentyFifteen to the right?
- How to Link External jQuery/Javascript files with WordPress
- Installation failed: Download failed. No working transports found
- What is theme-compat?
- WordPress Theme activation hook?
- Can wordpress theme folder name be changed freely and nothing technically happens
- Link to specific Customizer section
- What does exactly GPL license mean for my WordPress theme?
- Am I allowed to license my WordPress theme under the aGPL
- How do I change the header image height in Twenty Seventeen?
- Starter Theme vs Parent Theme? Pros and cons
- How to change the language for the front-end only?
- W3 Total Cache, CDN and theme files [closed]
- Best way to include Bootstrap in WordPress
- How to get a translated string from a language other than the current one?
- How to set thumbnail image for a (child) theme
- Different template of products for specific category. WooCommerce
- Show different theme for admin?
- How to print translation supported text with HTML URL
- How to get a localized version of WordPress from a repository?
- Localization: I want the backend: english and frontend in defined language
- How can I version the main CSS file?
- Working with l10n contexts (_x etc)
- what the best way to include images from the template’s images folder?
- Is it OK to remove theme credits from footer? [duplicate]
- Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067
- How can I get the title attribute from get_the_post_thumbnail()?
- Dash or underscore in theme folder name?
- No “Add New” Button. How to add new theme?
- How do I add support to my theme for custom menus?
- “Unexpected error” on update requests
- How to prevent plugin, theme installation failures on WordPress?
- How do I white label my self-hosted site created by wordpress?
- How to integrate get_post_time with date_i18n function?
- When cropping a header image, retain meta data (i.e. name, description, etc.) from original image?
- Best practices for a Style/CSS based theme options page?
- gettext does not translate when called in ajax
- How to create a new theme from scratch?
- Categorising themes by folders in backend
- Switching themes without losing widgets?
- How to provide translations for a WordPress TinyMCE plugin?
- How to use media upload on theme option page?
- How to escape the single quote character in i18n translation strings?
- Dynamic template serving, change theme_root using add_filter from current theme
- What theme is good for posting code? [closed]
- WordPress 5 / Gutenberg – theme doesn’t have featured image option showing up
- Custom Taxonomy-specific JavaScript
- How to refresh WordPress Customizer panel upon entering a value
- Set Featured Image for Archive templates
- why is translation not working on theme?
- is_front_page only works in theme file, and does not work in functions.php
- How do I add a new string to a .po or .pot file?