Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Cannot use translation > Language not detected in WP
Avatar
Marc Signorel
Rookie
Free Members
sp_UserOfflineSmall Offline
Oct 13, 2014 - 10:45 am

Hi

I installed Forum On WP 4, Latest Version 5.5.1.

I would like to use french language, but in the Forum settings, I get : 

Your site language setting is English/US and therefore no translation files are required for Simple:Press

I doube checked my Wordpress, I set it in French in the global options.

 

Any way I couls simply solve this issue ?

thanks

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 13, 2014 - 11:01 am

Hey Marc,

Have you had a look at the localization tutorial in the Codex? Probably just need to update your wp-config file.

Also, have you downloaded any translations?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 13, 2014 - 11:07 am

To explain a little more, after we created the auto download of translation files - WordPress appeared to change the way they constructed the language file names which means things went a little wrong. We will try an update this very soon.

For now you will need, I am afraid, to go to the manual method as Ike linked to above

andy-signature.png
YELLOW
SWORDFISH
Avatar
Marc Signorel
Rookie
Free Members
sp_UserOfflineSmall Offline
Oct 14, 2014 - 5:29 am

Hi 

thanks for your answers. Yet nothing works. SP still tells me my language is US, and not french as set in the backen & in the WP config file. I tried multiples config with & without _FR added to .po file.

I also added file to theme translation.

 

Can someone from SP have a little more information about this simple / Basic need of translation  ?

 

Thanks

Avatar
Marc Signorel
Rookie
Free Members
sp_UserOfflineSmall Offline
Oct 14, 2014 - 5:34 am

Also When I get back in general option, WP4 tels me WP_LANG is obsolete, maybe this is not used anymore to define Lang in the system. SP made me update to WP4 for install... maybe you noticed this ?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 14, 2014 - 7:04 am

Correct. WP_LANG is no longer required. As I said before you need to ignore the SP Languages admin panel as following what appeared to be last minute changes to the file name conventions and the very late decision to deprecate WP_LANG, SP was left with a largely non-functional automatic option. So until we can get that fixed up in an update users will, sadly, need to revert to the older, original method of manual installs of the MO files.

So - please describe for me what you have done? Where have you put the MO files you have downloaded? What have you named them? What is the file name of your main WordPress language MO file?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Marc Signorel
Rookie
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2014 - 5:42 am

Hi

so my file sp-fr-FR.po

I tried with different naming sp-fr_FR.po, also sp-en_EN.po...

It is  in /wp-content/sp-resources/forum-language/simple-press

 

Nothing happens.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 16, 2014 - 7:18 am

Well - you did not tell me the file name of your WordPress language file as I asked so I will have to make the assumption that it is named 'fr_FR.mo'.

And if that is correct then Simple:Press language files should have the name of the component (i.e., 'sp' fpr the core file) followed by a dash and then the Wp language file name which would be - if my assumption is correct - 'fr_FR'.

So - the final file name of the core file would be 'sp-fr_FR.mo'.

Note however that this requires the .mo file NOT the .po file. It is the .mo file that contains the translations in a format that WordPress can make use of. If you downloaded the Po files then you need to go back and download the actual mo files.

Also note that the core 'sp' file does not really contain that much as the majority of the translations are made via the Sp theme you are using. The easiest way to discover whether the core 'sp' language file is working is to look at the 'about' popup from the footer.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Marc Signorel
Rookie
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2014 - 6:58 pm

Hi thanks

I eventually got it OK through Template Traduction file.

Thanks a lot for your help. Just want to let you know the codex is not very understandable. I suggest you add more step by step instruction and add some example/screenshots.

everything is fine now :)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2014 - 8:29 pm

glad its working for you now... thanks for the update...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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