Solved

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

Posted on 2014-12-18
2
231 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

733 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