Introduction
Below, you will find instructions on how to add a new custom translation to the Client Portal. You will learn how to change the description in the system to create your own custom translation. You may want either to change the meaning of a phrase or to adjust the description within the Client portal to your business model.
Before you start
Go to the PGM -> System Settings -> Custom Translations tab. The tab requires the Custom translations system permission. See, if you have the right permission to take this action.
Instruction
How to change or translate descriptions in the Client Portal?
The best way to find the resource that represents a given text in the system is to find it by its English translations.
1. Go to the PGM -> System Settings -> Custom Translation.
2. Switch the Client Portal display language to English (3) and find the text you want to translate (4), i.e.: "Been here before?"
3. Enter the translation in the English translation tab.
3. After clicking on the Edit button, you can add your custom translation.
4. Click Save. Your translation or the description will be displayed in the Client Portal.
Due to caching, the changes made in the translations might need up to forty eight hours to take effect.
Hints
Below, you will find a couple of example sentences from the Client Portal that you can on easy way found under the "Custom translation" tab and translate:
Resource name and Resource object for Login process
1. BeenHereBefore -> /cp/areas/auth/views/authloginview.cshtml
2. SignInTitle -> /cp/areas/auth/views/authloginview.cshtml
3. SignInWitFacebook -> /cp/areas/auth/views/authloginview.cshtml
4. SignInWithYourEmailKiosk -> /cp/areas/auth/views/authloginview.cshtml
5. Login -> /cp/areas/auth/views/authloginview.cshtml
6. Password -> /cp/areas/auth/views/authloginview.cshtml
7. RememberMe -> /cp/areas/auth/views/authloginview.cshtml
8. ForgotPw ->/cp/areas/auth/views/authloginview.cshtml
9. SignIn -> /cp/areas/auth/views/authloginview.cshtml
Resource name and Resource object for Registration process
10. NotaMemberYet -> /cp/areas/auth/views/AuthRegistrationView.cshtml
11. SignUpNow -> /cp/areas/auth/views/AuthRegistrationView.cshtml
12. P1 -> /cp/areas/auth/views/AuthRegistrationView.cshtml
13. Li1 -> /cp/areas/auth/views/AuthRegistrationView.cshtml
14. Li2 -> /cp/areas/auth/views/AuthRegistrationView.cshtml
15. Li3 -> /cp/areas/auth/views/AuthRegistrationView.cshtml
16. JoinNow -> /cp/areas/auth/views/AuthRegistrationView.cshtml
17. AdditionalSummaryTextHeader -> /cp/areas/registration/views/steps/summarystepview.cshtml and /cp/areas/registration/views/steps/payasyougostepview.cshtml
18. AdditionalSummaryText -> /cp/areas/registration/views/steps/summarystepview.cshtml and /cp/areas/registration/views/steps/payasyougostepview.cshtml
Resource name and Resource object for Client Profile
1. Book -> /cp/components/navbar/_navbarcomponentmain.cshtml
2. Shopping -> /cp/components/navbar/_navbarcomponentmain.cshtml
3. MyBookings -> /cp/components/navbar/_navbarcomponentmain.cshtml
4. Account -> /cp/components/navbar/_navbarcomponentmain.cshtml
5. Classes -> /cp/components/navbar/navbarcomponent.cshtml
6. PersonalTraining -> /cp/components/navbar/navbarcomponent.cshtml
7. Facility -> /cp/components/navbar/navbarcomponent.cshtml
8. BuyProducts -> /cp/components/navbar/navbarcomponent.cshtml
9. MyProducts -> /cp/components/navbar/navbarcomponentnew.cshtml
10. Payments -> /cp/components/navbar/navbarcomponent.cshtml
11. ContractDetails -> /cp/components/navbar/navbarcomponent.cshtml
12. MyPurchases -> /cp/components/navbar/navbarcomponent.cshtml
13. PrepaidAccount -> /cp/components/navbar/navbarcomponent.cshtml
14. PaymentSettings -> /cp/components/navbar/navbarcomponent.cshtml
15. EditProfile -> /cp/components/navbar/navbarcomponent.cshtml
16. Documents -> /cp/components/navbar/navbarcomponent.cshtml
Resource name and Resource object for upgrading/adding additional contract process in Client Portal
1. AdditionalSummaryTextHeader -> /cp/areas/contracts/views/additionalcontract/summarystepview.cshtml and /cp/areas/contracts/views/upgradesteps/summarystepview.cshtml
2. AdditionalSummaryText -> /cp/areas/contracts/views/additionalcontract/summarystepview.cshtml and /cp/areas/contracts/views/upgradesteps/summarystepview.cshtml
If you are not able to find a given sentence in Custom translation tab, please contact the Perfect Gym Support Team.