Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

translation

Home/ translation

plugins – Rename existing cpt and taxonomy with new textdomain

Question
I'm developping a small plugin to rename existing custom post type from a theme (Divi). I use this code : add_filter( 'register_post_type_args', 'rename_project'); function rename_project( $args, $post_type ) { // Let's make sure that
0
Kentin.R 1 week 0 Answers 0 views

theme development – Cart displayed above header

Question
i'm new to wordpress and I can't figure out why when I add product to my cart, the header goes down Here is the website : https://portfolio.isekaibrand.com/ I don't
0
LaylaPinguin 4 weeks 0 Answers 0 views

multisite – How to automatically translate plugin using translate.wordpress.org

Question
Is there a way to automatically download translations for a plugin from translate.wordpress.org. I'm testing with WPML String Translation. The plugin has about 20 untranslated strings and I need a translation in 6 different languages. The plugin has tran
0
Snels Nick 1 month 0 Answers 0 views

plugin development – Translate javascript with WordPress built-in localization API for static strings

Question
I have been trying to implement the translation to a couple of strings in a .js file but nothing has worked. First try to do it like I do in php, in the .js file add this variable var __ = wp.i18n.__; and I put the strings like
0
choseɳ 3 months 0 Answers 0 views

plugins – How to use the WordPress localization API inside Classes and Functions

Question
I'm trying to translate a word that will be a term within WordPress, I use some functions that need to have that word already translated and I can't do it. I only managed to do it at the time of applying the term, but in another function where I need to
0
choseɳ 4 months 0 Answers 0 views

Translations only load from `wp-content/languages/plugins` but not from the plugin’s languages folder

Question
I translated my plugin and put all the files (my-plugin-de_DE_formal.po, my-plugin-de_DE_formal.mo, my-plugin.pot) in the wp-content/plugins/my-plugin/languages folder. My plugins header says:
0
Mountain 8 months 0 Answers 0 views

WooCommerce: wrong translations on checkout page after refreshed by AJAX call

Question
I have multi-language shop based on WooCommerce. For translations I'm using Polylang plugin. The problem I am struggling with is on Checkout page in payments method section. On page init translations are correct, but after AJAX ca
0
kraft.p 9 months 0 Answers 0 views

plugins – Translations not appended even strings are edited

Question
Well after 5 days of trying to find solution, I think I need WordPress magician to help me solve this. I am translating my WordPress site. So far I have translated over 80% of the content mainly accessing .po files via server or b
0
fuxia 10 months 0 Answers 0 views

plugins – Setting locale before retrieving gettext translations

Question
I developed several plugins which I localized using the standard approach with __() functions and the .po or rather the .mo files. All of this works like a charm. What I now want to be able to do is set the l
0
DevelJoe 1 year 0 Answers 0 views

url rewriting – How to translate slugs in custom post types or making them dynamic?

Question
How can we translate the rewrite slug in custom post types? Or making them dynamic with regex? For example: function news_init() { $args = array( 'labels' => array( 'name' => __('News (Pages)'),
0
laukok 1 year 0 Answers 0 views
  • Recent
  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

    May 30, 2021
  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

    September 18, 2020
  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

    March 19, 2020
  • Tabula – Art, Music & Language School

    Tabula - Art, Music &

    Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

    March 19, 2020
  • Mega Posts Display for Elementor – Premium WordPress Plugin

    Mega Posts Display for Elementor

    Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

    March 19, 2020
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Recent

  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means ...

  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY ...

  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

Popular Questions

  • How to update meta fields

    I have an app written in Delphi and Indy components for Windows ...

  • 404 error - Page not

    ...

  • How to echo the_excerpt without

    In the code snippet below, I trying to get the_excerpt to be ...

Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.
      Skip to toolbar
      • About WordPress
        • WordPress.org
        • Documentation
        • Support
        • Feedback