Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Language change
Avatar
Rodrigo B Galluf
Member
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 3:39 pm

OK, I've been trying to change language from english to portuguese with no success.

1º My wordpress is already in portuguese. Does it make any difference? I don't know...

2º I already read this http://codex.simple-press.com/.....alization/ couple of times.

3º I already went to wp-config.php file and changed WP_LANG. So now it is like this: define('WPLANG', 'pt_BR');

4º I already went to Simple Press Core and downloaded Front End pt_BR.mo

5º I already sent this file to wp-content/sp-resources/forum-language/simple-press

Did not work.

What I'm missing??
 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 7:58 pm

and how did you download the file pt_BR.mo??  that is not the filename it should be, nor is it what I get when I download th language...

it should bp sp-pt_BR.mo

Avatar
Rodrigo B Galluf
Member
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 8:53 pm

sure, it's sp-pt_BR.com

Didin't work

Do I need to download any other .mo file?

 

Avatar
Rodrigo B Galluf
Member
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 9:26 pm

Ok.. I have 2 files.   

sp-pt_BR.mo     and      spDefault-pt_BR.mo

I have sp-pt_BR.mo inside wp-content/sp-resources/forum-language/simple-press

I have spDefault-pt_BR.mo inside wp-content/sp-resources/forum-language/sp-themes

Didn't work

Any thoughts?

Avatar
Rodrigo B Galluf
Member
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 9:48 pm

done...

I'm working with my own theme, which I was strongly suggested to create.

so if you use your own theme you need to rename this spDefault-pt_BR.mo to spyourthemename-pt_BR.mo

this tip should be in codex too...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 3, 2013 - 1:30 pm
ah sorry, thought that was obvious… but reading through the codex easy to show how it could be missed… but the prefix is what you set in your sp theme spFunctions.php file…

will make a note to clarify that in the codex…

glad its working…

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626