• Resolved contactovisualpt

    (@contactovisualpt)


    Hi

    My site has 4 languages. I am trying to use a custom page with your plugin but the page slug is only one: /login/
    I need either to have the form text in the active language, or have 4 different pages for each language. I use Polylang.

    Is it possible? How?

    Nelson / Contacto Visual

    The page I need help with: [log in to see the link]

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

    (@jfarthing84)

    You want a different page for each language? Why not just translate the regular way of using the POT file with WordPress language system?

    Thread Starter contactovisualpt

    (@contactovisualpt)

    Good morning

    Yes, I follow that path. But one of the form fields did not translate as expected, so I had to change the login template and replace the label (‘Edit My Profile’) for a custom translatable phrase, and use a specific po file. Like this:

    ‘profile’ => array(‘title’ => __( ‘Editar Meu Perfil’, ‘theme-my-login’ ),’url’ => admin_url( ‘profile.php’ ),)

    Now it shows correctly in all 4 languages.

    Nelson / Contacto Visual

    Plugin Author Jeff Farthing

    (@jfarthing84)

    The issue there is that WP core recently changed the string from “Edit My Profile” to “Edit Profile”. TML 7.1.4 has been released and fixes this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘multi-language site’ is closed to new replies.