WordPress.org

Forums

Enhanced Text Widget
i18n is possible? (2 posts)

  1. agundabbo
    Member
    Posted 1 year ago #

    Hi.
    is it possible to do an i18n text widget with this plugin?
    I tried to do something like
    Title:
    _e('My widget','enhancedtext') and adding this line to .po and .mo but it does not work.
    So it is possible in other way?
    Regards

    https://wordpress.org/plugins/enhanced-text-widget/

  2. bostondv
    Member
    Plugin Author

    Posted 1 year ago #

    To translate the contents of the title or content I think you will need to use a translation plugin such as Polylang, qTranslate, or WPML.

    In theory you might be able to put <?php _e('My widget','enhancedtext'); ?> into the content then add .po/.mo translation files. You'll also only be able to do this in the content, not the widget title.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Enhanced Text Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.