Support » Plugin: Widget for Google Reviews » Text domain issue

  • Hello,

    I want to translate your plugin to Spanish (es, es_MX and es_VE), but I noticed that you no set a text domain in your plugin header comment. You should to put your plugin slug as text domain: widget-google-reviews. Please refer to the article How to Internationalize Your Plugin for more details.

    To fix this, you should to edit grw.php file in the plugin root directory and add the text domain meta after line :8, this way:

    /*
    Plugin Name: Google Reviews Widget
    Plugin URI: https://richplugins.com/business-reviews-bundle-wordpress-plugin
    Description: Instantly Google Places Reviews on your website to increase user confidence and SEO.
    Author: RichPlugins <support@richplugins.com>
    Version: 1.8.6
    Author URI: https://richplugins.com
    Text domain: widget-google-reviews
    */

    You also should to update the text domain parameter of each localization function you use inside your plugin to match with your plugin text domain and enable the WordPress.org translation system (GlotPress).

    I hope this information helps you to improve your plugin and reach more users.

    Kind regards.

Viewing 1 replies (of 1 total)
  • Plugin Author richplugins

    (@richplugins)

    Hi @yordansoares,

    Ok, we will add this and also domain path in the next version of the plugin:

    Text Domain: widget-google-reviews
    Domain Path: /languages

    By the way, the plugin is already translated for Spain (locale es_ES).

    Thanks for your help!

    • This reply was modified 1 year, 2 months ago by richplugins.
    • This reply was modified 1 year, 2 months ago by richplugins.
    • This reply was modified 1 year, 2 months ago by richplugins.
Viewing 1 replies (of 1 total)
  • The topic ‘Text domain issue’ is closed to new replies.