Hi Iurie,
Thanks for the report of the text-domain inconsistencies. I’m not sure why your fixes have failed, but it could be to do with the plugin’s pot file. Could you try your translation with the development version from the Github repo?
https://github.com/christianwach/bp-xprofile-wp-user-sync
There’s a “download zip” link on the right hand side – you may need to rename the enclosing folder once you’ve unpacked it.
Cheers, Christian
Christian,
I uninstalled the 0.5 version and installed the development version (0.5.1), but the situation with translation not changed. Also, I remarked that the First Name and the Last Name fields are not synced after re-installation.
See: http://goo.gl/pkbW9N
Regards,
Iurie
The fields are created when the plugin is first installed and the name of the field is stored in the database. You will need to deactivate and delete the original plugin for the change to take effect when new fields are created. This, however, will “orphan” existing data.
The situation is a bit of a fiddle because the field data is not deleted when the fields are deleted and because the plugin stores data about the fields in order to try and allow the field definition data to survive plugin deactivation and reactivation. Unfortunately, because your fields were originally named incorrectly (for you), that original naming will survive without intervention.
In essence, there are two conflicting processes at work here: (a) to retain existing definitions (b) to fix incorrect definitions. I think your best bet (if you want to keep the field data linked to the field definitions) is to manually change the field names in the database via PhpMyAdmin or suchlike. If it’s a clean install, then the delete and reinstall route should also work.
Cheers, Christian
OK, I changed (translated) manually the field names in the database. But, testing how the changed fields are displayed, I noticed that on the registration page they are displayed together with the default “Name” field. This is not related to the discussed here problem, but anyway, how to remove/hide the default “Name” field?
I solved the last problem too. When I changed the First Name and the Last Name fields I also changed (translated) the original Name field, but I must not to do that. By reverting to the original name the problem was solved.
Christian, thank you for your plugin and for the fast support!