| User | Post |
|
8:46 pm 12 Jul 2008
| Elgadget
Guest
| | | |
|
| |
|
|
hello, the translation of my forum to spanish is not working after the update to 3.1.3, it whas working perfectly before, i tried selecting the “es” option in the style section, i even deleted all other language files, i uploaded the sforum-es_ES.mo file to the language folder and still everything in english. how is that possible?
|
|
|
|
|
The only reason I can think of is that the way the localisation is called is being changed in WP 2.6 and we were specifically told that it was safe to use the new function as it was completely backwards compatible.
Your experience suggest that perhaps it is not. Which makes me somewhat angry…
I am afraid I will need to investigate and come back to you.
|
|
|
9:04 pm 12 Jul 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
when you upgraded to 3.1.3 you did follow the upgrade instructions and delete the entire plugin before uploading the new version? the language folder was moved… are you looking in the right spot?
|
|
|
10:19 pm 12 Jul 2008
| Eleazar
Guest
| | | |
|
| |
|
|
hi, I have the same problem. I haven't done upgrade, it was fresh install and I'm sure that everything is in the right place. Language file just doesn't work!
|
|
|
|
|
Are either of you up to making a little edit? If so open up the file:
sf-startup.php
Scroll down to the function:
function sf_localisation() — line 90
There are two lines of code. The top one has been commented out with two slashes. Try removing those 2 slashes and placing them in front of the line below. Does that make sense?
Save the file - resfresh your browser cache and try again…
|
|
|
11:44 pm 12 Jul 2008
| Eleazar
Guest
| | | |
|
| |
|
|
YES! It works, thank you! But there's still one little problem with TinyMCE. Buttons decsriptions are in the form like this: “advanced.bold_desc” for Bold button. Any idea why this is happening?
|
|
|
|
|
Good to hear it worked. Sounds like we have been given bad advice on this one.
have you set the language for the editor in the Forum > Options > Style tab? The language files for the editor are supplied by TinyMCE…
|
|
|
12:07 am 13 Jul 2008
| clarezoe
Guest
| | | |
|
| |
|
|
Hi, I had the same problem, and solved it by edit the “sf-startup.php” file as you said.

|
|
|
|
|
|
3:15 am 13 Jul 2008
| Elgadget
Guest
| | | |
|
| |
|
|
yes it works ! thanks a lot for such a quick fix !
|
|
|
3:24 am 13 Jul 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
thanks… hopefully, there are no more of these…
|
|
|
9:45 pm 13 Jul 2008
| Nicolai
Guest
| | | |
|
| |
|
|
Hi Forum & Yellow swordfish
Thanks for a great forum - and i'm looking foreward to use it! 
I'm working with the language problems. I need to get it to work with the danish mod.
I can see that the problem is fixed, but i can't figure the codes -though i'm not a stranger to coding.
Therefore could somebody cut n paste the answer. Thanks in advance
Best regards, Nicolai
|
|
|
10:20 pm 13 Jul 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
did you make the changes as specified in post #5 above?
|
|
|
10:42 pm 13 Jul 2008
| Nicolai
Guest
| | | |
|
| |
|
|
function sf_localisation() { global $wp_version; # i18n support if(version_compare($wp_version, '2.6', '<')) { load_plugin_textdomain('sforum', '/wp-content/plugins/simple-forum/languages'); } else { load_plugin_textdomain('sforum', SF_PLUGIN_DIR.'/languages', 'simple-forum/languages'); } return; }
I have tried, but i'm not sure it's the right slashes i'm changin'
I have painted the two slashes, which I think yellow swordfish is referring to… 
Maybe you could help me in the right way. I could the grateful
|
|
|
|
|
Download the plugin again and replace the sf-startup.php file. The one in the download zip has been corrected.
|
|
|
12:24 am 14 Jul 2008
| Nicolai
Guest
| | | |
|
| |
|
|
Thanks for taking the time to give me an answer. 
your new upload and the change of the config file got the job done.
Thanks again, Nicolai
|
|
|
|
|
|
2:10 pm 15 Jul 2008
| RecNes
Member
| | | |
|
| posts 44 |
|
|
I download new plug-in yesterday and checked out sf-startup.php file for those comment slashes. Looks like removed those slashes before I download the new version of the plug-in.
But language file doesn't loads in my installation. Function looks like below:
function sf_localisation() { global $wp_version; # i18n support if(version_compare($wp_version, '2.6', '<')) { load_plugin_textdomain('sforum', '/wp-content/plugins/simple-forum/languages'); } else { load_plugin_textdomain('sforum', SF_PLUGIN_DIR.'/languages', 'simple-forum/languages'); } return; }
I'm using WP 2.5.1 right now. Waiting for localized 2.6 vesion to upgrade
|
|
|
|
|
Strange - I am most certainly able to get this to work on both 2.5 and 2.6 WP systems with that code. is anyone else having problems?
|
|
|
6:58 pm 15 Jul 2008
| RecNes
Member
| | | |
|
| posts 44 |
|
|
Note : I also clean up my browser cache but there is nothing to change.
|
|
|
|
|
lert me check… did you upgrade correctly by removing everything first? Things are in different places now…
|
|
|
8:23 pm 15 Jul 2008
| RecNes
Member
| | | |
|
| posts 44 |
|
|
Yes I did.
I do everything step by step as wroten in the Read-Me file.
|
|
|
|
|
OK Well - that's good.
I can assure you that the function call there to load the languages is exactly the same as previopus versions so I really don't know why it isn't working. And - having tested this in all WP versions from 2.04 up to 2.5.1 it worked just fine for me. Although I was using the Spanish file!
Are you planning to upgrade to WP 2.6?
|
|
|
10:57 pm 15 Jul 2008
| RecNes
Member
| | | |
|
| posts 44 |
|
|
Interesting.
Yes I'm planning to upgrade 2.6 when it's localized.
|
|
|
|
|
I really don't know what to say - especially as it is you. I just cannot replicate this and, as far as I am aware, this is not a problem anyone else has.
|
|