Jump to content
Sign in to follow this  
hairydog

How to add a language phrase

Recommended Posts

Posted (edited)

I wanted to add some text to the basket, telling people the products in their basket aren't reserved until they are paid for.

Easy enough to do: a bit of text in content.checkout.php but i want to be able to edit it fron the admin, so I used {$LANG.checkout.reminder_unpaid_items} in the code, and added the relevant entry into the database. 

That all works just fine, and the correct text appears on the page, but the new phrase doesn't appear in the Admin Control Panel's "Edit Phrases" page. Is there another thing I should have done to make it work?

Edited by hairydog

Share this post


Link to post
Share on other sites

You need to add it into the language definition file in whatever section you want it to appear in but be aware that this file gets over-written on upgrades

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...