Knowledgebase: Translation
How to translate the information about Membership Plans?
Posted by Lena Kosyakova on 26 May 2009 12:27 PM
|
|
1. the fields as Name, Descriptions, Price and Expiration Period in the subscription_page.tpl file should be within double square brackets as [[$membership_plan.name.caption]] 2. you need to add a new domain "Membership_Plan" to your default language file: <page key="Membership_Plan"> </page> 3. go to subscription_page.tpl and add the following code after the {foreach from=$available_membership_plans item=membership_plan key=id name=mp} tag:
4. Put the domain Membership_Plan for $membership_plan.name.caption, $membership_plan.description.caption and $membership_plan.price.caption:
5. Put the domain PhrasesInTemplates for $membership_plan.name.element and $membership_plan.description.element:
6. enable "Highlight" for the "Mark Phrases That Are Not Translated" setting in the System Settings section in your Admin Panel Now you can translate the information on the http://www.yoursite.com/subscription/ page from the front-end. | |
|
Comments (0)