Support Forum

Where put french translation file?

FA fabio25
fabio25
Member

Hello everybody, 

It’s my second topic since my suscription laugh

I want to know when i must put the french translation file in my SP plugin??

Thank you very much

24 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

http://codex.simple-press.com/codex/installation/installation-information/localization/

FA fabio25
fabio25
Member

Ok thank you,

but i have put the file in the good place, my wp lang is in french but it is always in english…confused

YS Yellow Swordfish
Yellow Swordfish
Member

Are you sure? Remember that most text is derived from the SP theme and NOT the core…

FA fabio25
fabio25
Member

Hehe it work!! smile, thank you very much !

I have change the file name with fr_FR.

Thank you

IF Ivan Fræer
Ivan Fræer
Member

I have copied the file “da_DK.mo”, (I have also tried with “sp-da_DK.mo”) to /sp-resources/forum-language/sp-themes/

Refreshed the page but still in English?

YS Yellow Swordfish
Yellow Swordfish
Member

if ‘da_DK’ is what is defined in your WP_LANG setting then the file should be named ‘sp-da_DM.mo’
Please double check it is not working as you must remember that most of the text on the forum now comes form the theme NOT the core.

IF Ivan Fræer
Ivan Fræer
Member

Yellow Swordfish said

if ‘da_DK’ is what is defined in your WP_LANG setting then the file should be named ‘sp-da_DM.mo’
Please double check it is not working as you must remember that most of the text on the forum now comes form the theme NOT the core.

 

Hi

WP Config is defined like this: define (‘WPLANG’, ‘da_DK’);
So in  /sp-resources/forum-language/sp-themes/ I now have tried these:

sp_da_DK.mo
sp-da_DK.mo
sp_da_DM.mo
sp-da_DM.mo 

MP Mr Papa
Mr Papa
Member

I think Andy mean if wp config is da_DK, then you want sp-da_DK.mo…

what strings are not translated????? as he says, most are probably coming from your sp theme and not the core file you are dealing with…

IF Ivan Fræer
Ivan Fræer
Member

OK, I got the right place and the right name for the mo-file, but not a single word are translated. In WordPress every word are in Danish.

/sp-resources/forum-language/sp-themes/sp-da_DK.mo

MP Mr Papa
Mr Papa
Member

no… that is not a theme translation file… that is the core file… and goes in:

/sp-resources/forum-language/simple-press

there is a translation file for 1) sp admin 2) sp front end 3) each theme 4) each plugin

IF Ivan Fræer
Ivan Fræer
Member

Sorry, I was writing the wrong URL. It was “/sp-resources/forum-language/simple-press but “”sp-da_DK.mo” is not a translation file??? I give up, but thank you for your patience 🙂