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

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

    (@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.

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

    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 ‘[Plugin: Dynamic Widgets] Widgets made by dynamic_sidebar() ignore add_filter( 'locale' )’ is closed to new replies.