Support » Plugin: Loco Translate » Set custom “Last-Translator” email address

  • Resolved Annonnimmo

    (@annonnimmo)


    Hi,
    your plugin works great.

    I need only to solve this little privacy problem:
    Loco Translator seems to get “Last-Translator” email address from WordPress current user, how can I set a custom email address instead?
    Because I don’t wont to disclose my email address in .po files

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tim W

    (@timwhitlock)

    This feature is already noted for future development. I agree that it is required.

    Plugin Author Tim W

    (@timwhitlock)

    As an interim measure I’ve added a filter that you can use to control the header that gets written. use like this:

    
    function filter_current_translator( $text, $name, $email ){
       return $name.' (email removed)';
    }
    add_filter('loco_current_translator', 'filter_current_translator', 10, 3 );
    

    Available in the current development branch: 2.0.7-dev

    Annonnimmo

    (@annonnimmo)

    Thank you.

    Plugin Author Tim W

    (@timwhitlock)

    This feature has been added as a user preference in the current development version which is 2.0.10-dev.

    • This reply was modified 2 years, 10 months ago by  Tim W. Reason: added version no
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Set custom “Last-Translator” email address’ is closed to new replies.