Solved

How to change wordpress theme-language (or individual phrases)

Posted on 2014-12-18
2
221 Views
Last Modified: 2015-01-05
Hey, I encountered some problems with a theme, I am trying to set up for a friend. The theme is called Multipress, is from Momizat.

In trying to figure out the way to change the text in the "read more" link, I was advised to change the PO- and the MO files with a program called poedit.

I then tried to alter different language files in the wp-content/multipress/languages folder.   Here is what I did in multiple instances (with different sets of  PO- and MO-files):

1. With Filezilla I downloaded the PO-file, and put an .old extension on the files (the PO and Mo)  on the server.
2. I then opened the PO file with POedit, made the correction to the "read more" text, saved the new po file version and compiled an new corresponding mo-file. I then uploaded the new files back  to the languages folder.

This changed nothing. There were several sets of PO and MO-files in the folder, and I tried the above procedure with sevberal of them, including one called default.po (and .mo).
         

I then - on the basis on advice from the Momizat Support - proceeded to try a plugin called codestyling-localiation, which did not work.

The  main Question is of course: What is my mistake?

I suspect that I am  somehow  tampering with the wrong files. So one way to reframe the question is

which files are the right ones?

or

Is there a way a setting somewhere that points to the files being used (so I can now which one to change, or change the setting)?

All the best
0
Comment
Question by:Lars Ploug
2 Comments
 
LVL 25

Accepted Solution

by:
James Rodgers earned 500 total points
ID: 40508290
add this toy your wp_config.php  file
define ('WPLANG', 'fr_FR');


replace fr_FR with the appropriate MO language file designation without teh file extension.
0
 

Author Closing Comment

by:Lars Ploug
ID: 40531260
Hey, Sorry for my late response. I've been ill over Christmas and New Year. Thanks for your help, which - according to other research on the net - should solve the problem. But it doesn't. I'll try to formulate another question. All the best, MMH
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

In Part I (http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_8410-Getting-Started-In-WordPress-Part-I.html), I introduced you to the powerful WordPress backend, the WordPress administrative Dashboard.  In Part II, I will introduce yo…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now