WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Dynamic Widgets] Widgets made by dynamic_sidebar() ignore add_filter( 'locale' )

[Resolved] [Plugin: Dynamic Widgets] Widgets made by dynamic_sidebar() ignore add_filter( 'locale' )

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Qurl
    Member

    @qurl

    I don’t think this has anything to do with the plugin Dynamic Widgets. I’d more suspect the default widgets created by the theme you are using or the default widgets created by WordPress.

    kapooostin
    Member

    @kapooostin

    You’re right. Default widgets created by WordPress are initialized before a theme and plugins.

    kapooostin
    Member

    @kapooostin

    The answer was simple after all. Using add_filter(‘locale’) for changing locale should be done not in functions.php of a theme, but in plugin. Then a theme is translated correctly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Dynamic Widgets] Widgets made by dynamic_sidebar() ignore add_filter( 'locale' )’ is closed to new replies.