umdevelopera / um-polylang

Integrates Ultimate Member with the Polylang plugin. Makes UM multilingual.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ultimate Member - Polylang

Integrates the Ultimate Member plugin with the Polylang plugin. Makes Ultimate Member multilingual.

Key features

  • Localized permalinks for the Account and User (profile) pages.
  • Ability to duplicate Ultimate Member forms for all languages in one click.
  • Ability to duplicate Ultimate Member pages for all languages in one click.
  • Ability to translate email templates.
  • Ability to translate bio (description) field in profile.

Installation

Note: This plugin requires the Ultimate Member and Polylang plugins to be installed first.

How to install from GitHub

Open git bash, navigate to the plugins folder and execute this command:

git clone --branch=main git@github.com:umdevelopera/um-polylang.git um-polylang

Once the plugin is cloned, enter your site admin dashboard and go to wp-admin > Plugins > Installed Plugins. Find the Ultimate Member - Polylang plugin and click the Activate link.

How to install from ZIP archive

You can install this plugin from the ZIP archive as any other plugin. Follow this instruction.

How to use

How to translate pages

Go to wp-admin > Pages to translate Ultimate Member pages. Click the Create Pages button in the notice to duplicate Ultimate Member pages for all languages. Or click the "+" icon unter the flag to duplicate each page manually.

Image - Translate pages. Pages

Go to wp-admin > Settings > Permalinks and click the Save Changes button if you need to update rewrite rules for the Account and User page permalinks. Note: The "Post name" permalink structure is recommended.

Image - Permalink settings. WP Settings, Permalink (default)

How to translate forms

Go to wp-admin > Ultimate Member > Forms to translate Ultimate Member forms. Click the Create Forms button in the notice to duplicate Ultimate Member forms for all languages. Or click the "+" icon unter the flag to duplicate each form manually.

Image - Translate forms. Forms

Once forms for languages are created you can open these forms and translate fields. You have to translate a Label for custom fields. You also can translate Placeholder and Help Text if needed.

Choices are not translatable, this is necessary for the directory search to work correctly. Don't try to translate choices in the field settings! You can use custom functions to translate choices. See examples:

UM Forms, Edit Form, Edit Field - Dropdown (use Choices Callback to translate values)+

How to translate E-mails

Go to wp-admin > Ultimate Member > Settings > Email to translate email templates. Click the "+" icon unter the flag to translate a template for the language. The plugin saves translated email templates to locale subfolders in the theme, see Email Templates.

Image - Translate emails. Email

Support

This is a free extension created for the community. The Ultimate Member team does not provide support for this extension. Open new issue if you are facing a problem or have a suggestion.

Related links

Ultimate Member home page: https://ultimatemember.com/

Ultimate Member documentation: https://docs.ultimatemember.com/

Ultimate Member on wordpress.org: https://wordpress.org/plugins/ultimate-member/

Article: How to translate plugin.

About

Integrates Ultimate Member with the Polylang plugin. Makes UM multilingual.


Languages

Language:PHP 100.0%