Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi creamundo,

    Which form template are you using?

    Thread Starter creamundo

    (@creamundo)

    Hi Andrea,

    I use bps-form-legacy but I can’t find the words “From” or “To” in the source code of that template… even in the rest of the templates…

    plase, help.
    Regards from Spain.

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi creamundo,

    The only built-in template using ‘from’ and ‘to’ is bps-form-sample-1.

    These words are not internationalized yet, so you have to modify them in the template itself. Look into the file

    /wp-content/plugins/bp-profile-search/templates/members/bps-form-sample-1.php

    at lines 74 and 83 and edit the words as necessary.

    After you modify a template, it’s best to copy it into the directory buddypress/members under your active theme directory.

    Please let me know if this works for you!

    Thread Starter creamundo

    (@creamundo)

    Hi Andrea,

    I think there must be a problem, I edit the template you told me, you are right and there is the only one with from and to, but the problem is still there. This is a copy of the code generated:

    <input placeholder=’Edad de el From’ type=’text’ name=’field_167_min’ id=’field_167′ value=” class=’form-control’>

    The problem is in the placeholder. I searched the database with phpmyadmin and the code and there is no “From” or “To” that I can find, even with WPML… I think all the people must have the same issue in non english languajes…

    I’m using bps-form-legacy.

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi creamundo,

    Probably you are not using a built-in form template, but a template provided by your theme.

    To be 100% sure, look into the directory buddypress/members under your active theme directory, both parent and child if you use a child theme. Do you find other form templates there? The first line of code in a form template should be something like:

    $F = bps_escaped_form_data ();

    Thread Starter creamundo

    (@creamundo)

    You are COMPLETLY RIGHT!!!!
    The problem was there, I use Kleo Theme (one of the most used in buddypress) and they made that changes in the template.
    The only problem is that I cant translate with wpml… (sadface)

    thanks for all!!!!!!!!!

    Plugin Author Andrea Tarantini

    (@dontdream)

    You are welcome!

    I suggest you inform the Kleo team about this translation issue, I am sure they will be happy to find a solution.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Translate problem’ is closed to new replies.