26 posts
  • Has been part of the Envato Community for over 1 year
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
crunchmanju says

What Kind of Recommendations are these can some one help me to get Rid of Them-

RECOMMENDED: Text domain problems in functions/all-widget.php. You have not included a text domain! Line 4: $widget_ops = array( ‘classname’ => ‘widget_prompt’, ‘description’ => __( ‘Prompt Widget’ ) ); Line 5: $this->WP_Widget(‘my_prompt’, __(‘My Prompt’), $widget_ops); Line 60: $widget_ops = array( ‘classname’ => ‘widget_topslider’, ‘description’ => __( ‘Top Slider Widget’ ) ); Line 61: $this->WP_Widget(‘top_slider’, __(‘Top Slider’), $widget_ops); Line 334: <?php _e( ‘Title’ ); ?>: Line 340: <?php _e( ‘Category’ ); ?>: Line 346: <?php _e(‘Number of posts to show’); ?>: Line 353: <?php _e(‘Display’); ?>: Line 368: <?php _e(‘Sort by’); ?>: Line 379: <?php _e(‘Sort order’); ?>: Line 388: <?php _e( ‘Excerpt length (in words):’ ); ?> Line 395: <label><?php _e(‘Widget dimensions’); ?>:</label> Line 408: <label><?php _e(‘Thumbnail dimensions’); ?>:</label> Line 421: <label><?php _e(‘Show view all link’); ?>: </label>

Can some one help me how to get Rid of Them?

1532 posts The Last Man Standing
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
+10 more
ImanGM Moderator says

Hi,

To give you a work around, you should replace this:

__( ‘Prompt Widget’ )

with something like this:

__( ‘Prompt Widget’, 'my_very_own_text_domain' )

I hope this helps.

Cheers,
Iman

26 posts
  • Has been part of the Envato Community for over 1 year
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
crunchmanju says

Hi,

To give you a work around, you should replace this:

__( ‘Prompt Widget’ )

with something like this:

__( ‘Prompt Widget’, 'my_very_own_text_domain' )

I hope this helps.

Cheers,
Iman

Ok wherever This error is Coming, I should add This Line: , ‘my_very_own_text_domain’ ?

26 posts
  • Has been part of the Envato Community for over 1 year
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
crunchmanju says

Hi,

To give you a work around, you should replace this:

__( ‘Prompt Widget’ )

with something like this:

__( ‘Prompt Widget’, 'my_very_own_text_domain' )

I hope this helps.

Cheers,
Iman

Also what about This Line with Double Inverted Comma- $widget_ops = array( ‘classname’ => ‘widget_topslider’, ‘description’ => __( “Top Slider Widget” ) );

3437 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says
26 posts
  • Has been part of the Envato Community for over 1 year
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
crunchmanju says

http://codex.wordpress.org/I18n_for_WordPress_Developers

Thanks But I have PUT this: , ‘my_very_own_text_domain’

Instead of ‘my-text-domain’ would it Cause any Issues.

267 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+3 more
DanThemes says

Thanks But I have PUT this: , ‘my_very_own_text_domain’ Instead of ‘my-text-domain’ would it Cause any Issues.

No, you can use whatever text domain you want; for instance, your theme’s name (if it’s unique enough).

3437 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says


http://codex.wordpress.org/I18n_for_WordPress_Developers

Thanks But I have PUT this: , ‘my_very_own_text_domain’

Instead of ‘my-text-domain’ would it Cause any Issues.

I don’t think you get it. ‘my_very_own_text_domain’ or ‘my-text-domain’ should be something unique to your product for example my themes all use ‘hive’ because thats the name of my framework. In the end it doesn’t really matter whats put there as long as its follow formatting.

26 posts
  • Has been part of the Envato Community for over 1 year
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
crunchmanju says



http://codex.wordpress.org/I18n_for_WordPress_Developers

Thanks But I have PUT this: , ‘my_very_own_text_domain’

Instead of ‘my-text-domain’ would it Cause any Issues.
I don’t think you get it. ‘my_very_own_text_domain’ or ‘my-text-domain’ should be something unique to your product for example my themes all use ‘hive’ because thats the name of my framework. In the end it doesn’t really matter whats put there as long as its follow formatting.

The Link that you gave e from that I understand that it is used in Internalization or Translation so which software use this string, I mean it triggers some translation software that this also needs to be translated. Does it also needs to be accounted in .po and .mo Files? or it is used by WPML?

DO we have to register this- ‘my_very_own_text_domain’ or any unique string as string or variable that will be called by some software? Please enlighten me Further. Thanks!

3437 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says




http://codex.wordpress.org/I18n_for_WordPress_Developers

Thanks But I have PUT this: , ‘my_very_own_text_domain’

Instead of ‘my-text-domain’ would it Cause any Issues.
I don’t think you get it. ‘my_very_own_text_domain’ or ‘my-text-domain’ should be something unique to your product for example my themes all use ‘hive’ because thats the name of my framework. In the end it doesn’t really matter whats put there as long as its follow formatting.

The Link that you gave e from that I understand that it is used in Internalization or Translation so which software use this string, I mean it triggers some translation software that this also needs to be translated. Does it also needs to be accounted in .po and .mo Files? or it is used by WPML?

DO we have to register this- ‘my_very_own_text_domain’ or any unique string as string or variable that will be called by some software? Please enlighten me Further. Thanks!

please read that whole page I sent you, as well as possibly click links within the page

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by