You must be logged in to post


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

How to Edit the Language File

UserPost

1:07 am
June 13, 2009


Market Admin

Admin

posts 4756

1

With the release of Market versio n3.5, changing any of the text throughout your theme is easy and fully under your control.

You can do everything from change a little of the wording, to an entire translation into another language.

To edit the language file, simply go to the Theme editor tool in your WordPress administration area.  (Click on "Appearance", then "Editor".

Open the file named "mkt_language.php". 

This file is broken down into various sections.  The Market Theme text, the Shopping Cart text, and the Admin Theme Options areas.

Search for the text you're looking to change, and then change the text between the single quotes.

Make sure you do not remove those quotes, or your website will break.

ALSO… It's very important to know that if you use a single quote within your text, you MUST preceed the single quote it with a backward slash "\\" to escape the character meaning.

For example:

What's the problem with single quotes?

would be entered as

What\\'s the problem with single quotes?

It's very important, so don't forget.

Save the file when you're done.

5:23 pm
July 28, 2011


Market Admin

Admin

posts 4756

2

UPDATE:

=========

I just noticed that this post was outdated, so I thought I'd update it.

 

With the release of Market Theme version 4.0, the language file abilities were improved, moved, and renamed.

 

Now, within the Market Theme settings area, you can choose the language you want your website to display in.

In addition, within the Market Theme files you will see a folder named "language".  Within that folder are files for various supported languages.  (ie. English.php, French.php, German.php, Spanish.php, Italian.php)

 

Simply open one of the files for editing, and you can modify any of the text.  You can even edit it through the WordPress administration theme editor, located under the "Appearance" menu tab.

 

Also within the "language" folder, is a file named "how-to-modify-add-a-language-file.txt" which is there to help you need more help.



 

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.