Sneha Saradva
asked 8 years ago


I’m trying to set up a wordpress mu site using suffusion and creating my own child theme. I noticed something wierd that I can’t seem to solve. I used the childtheme setup to incorporate the Swedish translation.

My site do not translate 6 different elements in comments.php even though they are in the sv_SE.po file. The 4 titles in the comment form:

“Name”, “E-mail”, “URI” and “Your Comment” does not get translated correctly. Neither does the 2x (required) and “You may use these HTML tags and attributes: <a href=”” title=””> <abbr title=””> <acronym title=””> <blockquote cite=””> <del datetime=""> <q cite=""> "

Here is what I found in the sv_SE.po file, everything seems to be in order according to my small amount of knowledge.

#: functions/framework.php:96

msgid "Name"
msgstr "Namn"

#: functions/framework.php:98

msgid "E-mail"
msgstr "E-post"

#: functions/framework.php:99

msgid "URI"
msgstr "URL"

#: functions/framework.php:100

msgid "Your Comment"
msgstr "Din kommentar"

#: functions/framework.php:97

msgid "(required)"
msgstr "(obligatorisk)"

#: comments.php:110

msgid "You may use these <abbr title=\"HyperText Markup Language\">HTML tags and attributes: %s"
msgstr ""

The last translation is fine by me, if it worked 🙂

Can anyone help me to solve this or is this a bug?

jiyyaaa patel
replied 7 years ago

My site do not translate 6 different elements in comments.php even though they are in the sv_SE.po file.

4 Answers
answered 8 years ago

If you worked hard to translate the theme you probably don’t want to keep the translated .po and .mo files in the parent theme because they will be overwritten when you update the theme. The best solution would be to place them in your child theme which is very easy to do and is also explained right in the WordPress CODEX.

So basically you just have to add your languages into your child theme and then use (add to your child theme’s functions.php) the following function to load it from the child theme instead of the parent:

// Load translation files from your child theme instead of the parent theme
function my_child_theme_locale() {
    load_child_theme_textdomain( 'my_child_theme', get_stylesheet_directory() . '/languages' );
add_action( 'after_setup_theme', 'my_child_theme_locale' );

Hope this helps !

masroor alam
answered 8 years ago

Hello, I am trying to Disable right mouse click on my blogger site . It is not working on my website. How can i do it easily.

<script language="JavaScript">< !–
//Disable right mouse click Script
//By Being Geeks
//For full source code, visit
var message=”Function Disabled!”;
function clickIE4(){
if (event.button==2){
return false;

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;
if (document.layers){
else if (document.all&&!document.getElementById){

document.oncontextmenu=new Function(“alert(message);return false”)
// –></script>
dominic Staff
replied 8 years ago

Thanks for your codes Maasroor. I appreciate it.

Amit Kumar
answered 7 years ago

I have same error in my website can anyone help me to solve this my website

answered 7 years ago

If anyone here want to translate the plugin, you can create a private question and send me username & password of your site and your FTP, I will help you translate the plugin.

Powered by DW Question & Answer Pro