Translate Memberstack

Article author
Josh Lopez
  • Updated

Using Memberstack 2.0? There is an updated version of this article here.

Use this script to translate default text into the language of your choosing.

 

About this article:

  • Difficulty level: Easy

  • Technical background needed: Beginner

  • Estimated time required to complete: 2 mins

Need a multi-langauge site? Checkout Weglot.

 

What and Why?

Keep reading if you only need to translate Memberstack's UI into a single language.

 

Here's a quick video that explains how our translation code works.

 

Note: All translations are user-generated and not proofread by the Memberstack team. Please confirm the translation is correct before including it in your site.

 

Step 1 → Watch the video above.

 

Step 2 → Go to the Translation Google Sheet and copy & paste the <script> column into the header of your site.

 

header-code.png

Here is an example of the script to be placed above the Memberstack.js script:

<script>
window.textOverride = {
"profile_alt_logo": "-----",
"profile_nav_profile": "-----",
"profile_nav_member": "-----",
"profile_logout": "-----",
"profile_exit": "-----",
"profile_info": "-----",
"profile_updated": "-----",
"profile_update": "-----",
"profile_email": "-----",
"profile_temp_email": "-----",
"profile_change_pass": "-----",
"profile_current_pass": "-----",
"profile_new_pass": "-----",
"profile_confirm_pass": "-----",
"profile_manage_mem": "-----",
"profile_trial": "-----",
"profile_active": "-----",
"profile_past_due": "-----",
"profile_canceled": "-----",
"profile_test": "-----",
"profile_free": "-----",
"profile_cancel": "-----",
"profile_will_cancel": "-----",
"profile_renew": "-----",
"profile_period_end": "-----",
"profile_confirm_cancel": "-----",
"profile_pay_method": "-----",
"profile_ending_in": "-----",
"profile_expire": "-----",
"profile_edit": "-----",
"profile_no_card": "-----",
"profile_add_card": "-----",
"profile_new_card_label": "-----",
"profile_card_updated": "-----",
"profile_change_card": "-----",
"profile_history": "-----",
"profile_view_invoice": "-----",
"profile_invoice_empty": "-----",
"profile_password_required": "-----",
"profile_password_err": "-----",
"profile_canceled_success": "-----",
"pay_secure_checkout": "-----",
"pay_update_membership": "-----",
"pay_not_active": "-----",
"pay_billed": "-----",
"pay_month": "-----",
"pay_year": "-----",
"pay_week": "-----",
"pay_once": "-----",
"pay_after": "-----",
"pay_trial": "-----",
"pay_free": "-----",
"pay_billed_once": "-----",
"pay_sub_total": "-----",
"pay_tax": "-----",
"pay_total": "-----",
"pay_coupon": "-----",
"pay_have_coupon": "-----",
"pay_apply": "-----",
"pay_not_valid": "-----",
"pay_off": "-----",
"pay_coupon_forever": "-----",
"pay_test": "-----",
"pay_renew": "-----",
"pay_change": "-----",
"pay_confirm": "-----",
"pay_confirm_pay": "-----",
"pay_start_trial": "-----",
"pay_agree": "-----",
"pay_terms": "-----",
"pay_and": "-----",
"pay_privacy": "-----",
"incorrect_number": "-----",
"invalid_expiry_month": "-----",
"invalid_expiry_year": "-----",
"expired_card": "-----",
"incorrect_cvc": "-----",
"address_zip_check": "-----",
"card_declined": "-----",
"reset_steps_1": "-----",
"reset_your_password": "-----",
"reset_enter_email": "-----",
"reset_send_reset": "-----",
"reset_email_address": "-----",
"reset_have_code": "-----",
"reset_steps_2": "-----",
"reset_check_email": "-----",
"reset_enter_code": "-----",
"reset_reset_code": "-----",
"reset_new_password": "-----",
"reset_confirm_password": "-----",
"reset_password": "-----",
"reset_send_new": "-----",
"reset_code_invalid": "-----",
"reset_email_not_found": "-----",
"reset_code_incorrect": "-----",
"incorrect_email_password": "-----",
"invalid_password": "-----",
"email_taken": "-----",
"invalid_email": "-----",
"membership_current": "-----",
"membership_missing": "-----",
"err_card_required": "-----",
"unexpected_error": "-----",
"err_upgrade": "-----",
"invalid_confirm_password": "-----",
"password_change_success": "-----",
"signup_head": "-----",
"signup_password": "-----",
"signup_button": "-----",
"signup_already": "-----",
"signup_login": "-----",
"login_head": "-----",
"login_reset_password": "-----",
"login_button": "-----",
"login_need": "-----",
"login_signup": "-----",
}
</script>

 

 

Keywords: language, translate, translation, UI

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.