Support Forum

Language

TD ton damman
ton damman
Member

Hi,

I want Simple:Press in Dutch Language, i have set my language  in wp-config in nl_NL, i have put the .mo  file in

wp-contentsp-resourcesforum-languagesimple-press and also in sp-plgins and in sp-themes.

But when i go to the forum there is nothing changed, i am a newbieembarassed  but a little bit desperate, so who is aible to help me.

 

Regards Intosuwo

11 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Sounds like you have basically done it all right. But – did you change the filenames of the mo files? The filename consuist of the item ‘code’ (i.e., ‘sp’) followed by the language code. This defaults to, in your case, ‘-nl’. But if your WP_LANG is set to ‘nl_NL’ then you need to make the files have the same code so ‘sp-nl.mo’ wpuld need to be changed to ‘sp-nl_NL.mo’.

MP Mr Papa
Mr Papa
Member

also, you may need the translation for the theme you are using… and potentially any plugins you are using…

TD ton damman
ton damman
Member

Thanks for the help,

 

I did what you said, but the forum is still in English language??

please help me……….

YS Yellow Swordfish
Yellow Swordfish
Member

Let’s take it slowly then. Some questions:

  1. What exactly is the WP_LANG setting in your wp-config.php file?
  2. What name have you given the mo file in the /sp-resources/forum-language/simple-press folder?
  3. What name have you given the mo file in the /sp-resources/forum-language/sp-themes folder?
TD ton damman
ton damman
Member

Hi,

Thanx for helping me by the way.

1.- define (‘WPLANG’, ‘nl_NL’);

2.- sp-nl_NL

3. – sp-nl_NL

YS Yellow Swordfish
Yellow Swordfish
Member

sp-nl_NL.mo is correct for 2 – the main forum translation. This does not cover much as most of the text displayed comes from the theme.

3 is incorrect however. Download the theme language file from the translation site. It will already be named – all you need to then do is change the country code part. So if you are using the ‘default’ theme – you will download an mo file called ‘spDefault-nl.mo’. Change that to ‘spDefault-nl_NL.mo’ to match your WP_LANG setting and place it in the languages sp-themes folder.

TD ton damman
ton damman
Member

Hi,

It doesn’t work embarassed

What i did:

simple-press –> sp-nl_NL.mo

sp-plugins –> sp-nl_NL.mo

sp-themes –> spDefault-nl_NL.mo

 

I use the Default 1.0.15 theme sky-blue

questionquestionquestionquestion

MP Mr Papa
Mr Papa
Member

so what’s not getting translated?  is anything translated? 

we have many thousands using translation so its generally working so just need to figure out what is going on here.. unfortunately, Andy is the localization expert here and is on vacation until this weekend…

worth noting that the Dutch core translation is only 95% complete and the theme is only 96% complete so not everything is translated…

TD ton damman
ton damman
Member

Nothing is translated, i can’t figure out what is going wrong?

EK Edward Koon
Edward Koon
Member

I use the Google translation script in a text widget. FidoSysop.org give it a try.

Here is the code. (if it will copy here ok)

<div id=”google_translate_element”></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: ‘en’
  }, ‘google_translate_element’);
}
</script><script src=”//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script>

Got lots of worldwide site visitors so it must work ok for them.

http://s10.flagcounter.com/more/wkH

MP Mr Papa
Mr Papa
Member

so not even WP is translated?  or your wp theme?

is the sp-resources and language dirs web accessible??  do you have link to your site?