Take a look at WordPress SEO API Docs it appears you can modify the meta description tag will somthing like:
add_filter('wpseo_metadesc', function($description){
if ($wtv_language == 'wtv') {
$description = "my other language meta description here";
}
return $description;
});
Note that $wtv_language == 'wtv' would need to be replaced with whatever function/variable you’re using to detect your language – and "my other language... would need to be replaced with a dynamic translated value, so each page gets a proper translated description, however you plan to do that.
Related Posts:
- Getting error when trying to implement site-wide breadcrumbs in Twentytwentyone Theme [closed]
- WordPress yoast seo plugin – parse snippet var in meta description
- Genesis / custom template page / setting the page title and meta desc
- Workaround for og:image unsupported webp image type, Yoast SEO?
- seo meta description issue in google search
- Custom Yoast Breadcrumbs URL
- Current post’s author name in the author meta tag
- Set Primary category using the Yoast SEO plugin
- A Specific Blog post to be assigned as the landing page of my wordpress blog
- A solution to set metatags with my page generating plugin?
- WordPress plugin for nicer looking slugs? Have multiple pages named the same but they get different slugs
- Add meta noindex to post if it has a specific taxonomy
- How to remove role=”navigation” from all nav elements?
- Auto-Select Parent Category as Primary
- Change title only in dynamic page
- Can’t print Yoast meta description into page template (syntax error, unexpected ‘.’) [closed]
- Category title output before opening title tag
- Display Yoast meta-description `wpseo_desc` within loop of categories and fail silently if no data is set [closed]
- Seo Friendly Filter URLs
- How to add no follow to specific links?
- .html end of URl affected to SEO?
- Can’t change website Title on wordpress
- Nginx WordPress and another Web app URL structure
- Get All In One SEO Pack to use custom field instead of Content
- Create a slug for a page in WordPress
- WordPress: Export/Import Yoast meta title & description to custom taxonomy
- Obfuscate links (for SEO purpose) [closed]
- Custom URL for multiple categories hierarchy
- 404 on old link after changing post url
- Tag title not being returned in page title of tag archives
- Retrieve alt text by referencing the img src
- Custom function that re-writes page title breaks when the Yoast plugin is activated
- Does anyone know why my SEO and title become one?
- Yoast Breadcrumbs Inject Multiple Levels
- Using $this with an anonymous function in filters
- How to display custom seo title before the loop?
- Add missing alt tag to featured images for “storefront” theme
- Redirect homepage /page/1/ to /blog/page/1/
- Magento and WordPress URL integration [closed]
- Wrapping the_content() in Schema articleBody tag? [closed]
- Custom HTML/CSS Theme into WordPress – SEO considerations
- How to modify default tags in wp_head()
- Remove datePublished and dateModified from Yoast Schema output on WordPress website
- How to add query string at the end of sitemap Yoast SEO
- Best way to do multiple constructors in PHP
- Moving a PHP web-app to WordPress
- How to use multiple query with same meta key
- How to use WordPress (PHP) functions in AngularJS partials files?
- How to create a custom config file and get data using inline JS in a wordpress page
- How to Remove a Filter from the Admin List Table?
- Remove commas from WooCommerce checkout addresses fields
- Concatenate site_url and string doesn’t work
- Getting the dropdown menu to redirect to different pages?
- List User order by ID in Descending order (Backend)
- JQuery not working on WordPress Admin page [closed]
- Different output from WP-CLI in bash vs PHP exec()
- hook that when page is starting to load
- Theme Options Page – User Updates Logo
- How do I use this PHP library to access OpenGraph data in a child theme?
- Ajax category filtering products default show all
- How to exclude category ID from Looper in WordPress
- Custom user login page by creating a plugin
- Add a specific part of current category page url to shortcode
- Why ajax doesn’t work on certain wordpress hooks?
- Whitelisting items from custom options page
- Add_menu_page not displaying the menu in class based plugin
- Approve post and send the password
- multiple taxonomy select display only one in front end
- WordPress displaying content from sub pages
- Blob file download problem
- Fatal error: Call to undefined function register_new_user()
- Post not populating for custom post type based on category selection
- How to display success message correctly and delete it when the page is refreshed
- How to display meta_value array?
- ‘Bones’ theme: Load stock scripts in footer instead of header?
- Display Custom Field in Sidebar if Value is Present
- Update user repeater meta (ACF) with another user meta field value
- is it possible for a URL to filter by tag
- Add Featured Image to Existing Post
- Preserving backslashes in post_content
- How to make a pagination with dropdown selection?
- update_post_meta not working, but values are true
- Woocommerce – get daily sales meta
- Change CSS Variable value in Theme Customizer Live Preview
- Importing the style and scripts in the plugin doesn’t work as well as in the theme
- gettint error 400 with AJAX
- Show different number of posts on first Blog listing page
- Custom theme: adding unwanted tags in the content
- How to change this internal image link parameter using PHP?
- How to show all of aspecific post type that has taxonomy and a specific term
- Banner editable from backend
- Adding else if conditional statement to purchased theme
- Reusing the page name class that WordPress adds to body tag
- archive per year with monthly
- Search results always returns “No results” no matter what
- Changing upload directory temporarily
- Adding extra cost to woocommerce flat rate based on shipping zone
- I got this error POST https://localhost/meraboilerwp/[object%20Object] 404 (Not Found)
- How to temporarily set the featured image for a post when the post is loaded
- The theme doesn’t load css and JS files doesn’t load in functions.php