Support » Plugin: Theme My Login » Theme my login and Polylang integration

  • I’m running into a strange behaviour with TML in conjunction with PolyLang plugin (latest version of WP and both plugins at time of writing),
    the TML pages for profile, login/register and all other actions seems to work only with the default language of time of creation and I’m unable to effectively translate the pages.

    The pages were created to work with italian locale, with polylang I created the english counterpart for all of them but they all get redirected to the italian login form,
    is there a polylang integration in the roadmap or any way to contribute to it?

Viewing 1 replies (of 1 total)
  • I managed to translate part of the contents by suppling in each page created with polylang the specific default_action in the shortcode as per documentation, still there are some untranslated and duplicated contents :

    for the login/register widget the widget title and the user links will always stay at the defaul language, the form labels are translated correctly

    The pages created with polylang and the default_action specified in the shortcode always output the current action name which can match the page title and is thus unecessary, yet the label is not enclosed in any html tag so it’s not even possible to hide it via CSS

    Regarding the themed profile page, if accesses with the default language at the page created by TML when not logged in will redirect to the login form, instead accessing a page with the default_action set to profile when not logged in will return the following error :

    Warning: reset() expects parameter 1 to be array, null given in /home/simonere/public_html/wp-content/plugins/theme-my-login/modules/themed-profiles/themed-profiles.php on line 265

    also the profile form will appear empty below the error

Viewing 1 replies (of 1 total)
  • The topic ‘Theme my login and Polylang integration’ is closed to new replies.