• Resolved Mikrotuki

    (@mikrotuki)


    Hi!
    I’m using a Finnish translation of WordPress, and I have an minor issue with this plugin. On the registration page your plugin translates the fields First Name and Last Name in English even though they appear in Finnish in the user accounts. Also the email and username fields are in Finnish on the registration page.
    Is there a reason for RPR to force translation of the First Name and Last Name fields and not to use the WordPress’s translation? It would be nice to get all the fields in Finnish.

    http://wordpress.org/extend/plugins/register-plus-redux/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Corrado Prever

    (@artphotoasia)

    I have the same issue… in italian…

    Plugin Author radiok

    (@radiok)

    That would indicate to me that the translation files mo/po for your languages are out of date. Unfortunately translators come in and out of the project all the time. You can use a program like Poedit to edit the translation files. If you care to share back any updates you make I will put them online for all other users.

    Thread Starter Mikrotuki

    (@mikrotuki)

    Well the problem is not about the translation files, because there are no translation of the plugin for my language. I think I’m going to write them. I’m just wondering why your plugin is using the wordpress’s default translation for two fields on the registration page, but not for the other two. It makes no sense. The field names right now on my registration page are:

    Käyttäjänimi (=Username)
    Sähköpostiosoite (=Email)
    First Name
    Last Name

    selnomeria

    (@selnomeria)

    I have found one way to translate the registration form – add this code into your themes functions.php:

    function my_translatorr()
    {
    $our_content=ob_get_contents();
    $our_content= str_replace('Username',        'blabla1',$our_content);
    $our_content= str_replace('Email Address',   'blabla2',$our_content);
    
    ob_get_clean();	
    
    echo $our_content;
    }
    add_action( 'register_form', 'my_translatorr' );

    of course, add or change the words with your desired ones..

    Thread Starter Mikrotuki

    (@mikrotuki)

    @selnomeria

    Thanks, the function works great. 🙂

    Plugin Author radiok

    (@radiok)

    @mikrotuki, I thought your issue was that only the first two fields were translated. I mistaked your problem. The reason those two are translated and not any others is because Register Plus Redux does not REPLACE the registration, it appends the new fields to it. I’m glad you have a solution whatever the case.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Register page field name translation’ is closed to new replies.