Paid Memberships Pro is built in a way that you can translate the frontend pages and admin screens into any language. Some data, though, is stored in your site’s database directly, so translating these custom strings is needs a different approach.

In this tooltip, we should you how to translate your membership level information, including the name, description, and confirmation message, if you want to display your site’s content in multiple languages. The recipe below demonstrates how to translate level information for each of your site’s offered languages. This works well in conjunction with WPML for multilingual sites.

If you are looking for tips on translating other default text in Paid Memberships Pro, check out our main guide on translation here.

Banner image of Translate Membership level Information

The Code Recipe

Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

Update the $pmpro_translated_levels array for each Level ID you need to translate. Any fields available on the level object can be translated, including the name, description, and confirmation. You can add a sub array for each locale offered in your multilingual site.

Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Featured Image for Membership Site Development Course: The Basics
Was this article helpful?