Skip to content

Instantly share code, notes, and snippets.

@robwent
Created January 21, 2021 09:50
Show Gist options
  • Save robwent/6eeafeb8d5e3a12afbb472207ca1cfbe to your computer and use it in GitHub Desktop.
Save robwent/6eeafeb8d5e3a12afbb472207ca1cfbe to your computer and use it in GitHub Desktop.
<wpml-config>
<admin-texts>
<key name="wp_2fa_email_settings">
<key name="enforced_email_subject"/>
<key name="enforced_email_body"/>
<key name="login_code_email_subject"/>
<key name="login_code_email_body"/>
<key name="user_account_locked_email_subject"/>
<key name="user_account_locked_email_body"/>
<key name="user_account_unlocked_email_subject"/>
<key name="user_account_unlocked_email_body"/>
</key>
<key name="wp_2fa_settings">
<key name="custom-user-page-url"/>
<key name="custom-user-page-id"/>
</key>
</admin-texts>
</wpml-config>
@robwent
Copy link
Author

robwent commented Jan 21, 2021

Makes 'WP 2FA – Two-factor Authentication for WordPress' emails and certain settings translatable by WPML and Polylang.
Add to the root of the plugin folder named wpml-config.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment