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
sp-form-global-options.php Translations
Avatar
cwwcwi0ecnuwijcowecwreiovuejwcko
Member
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2012 - 7:26 am

Some fields in sp-form-global-options.php with language conditional tag "sp_text" are not getting translated while they are present in the .po and .mo file. For example these lines:

$out.= sp_text('On this panel, you may set your Global Options preferences.');
$tout.= '<p class="spProfileLabel">'.sp_text('Hide Online Status').':</p>';
$out.= '<input type="submit" class="spSubmit" name="formsubmit" value="'.sp_text('Update Global Options').'" />';

This should be changed in the core I think.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2012 - 8:34 am

what should be changed in core??   changed to what?

are you saying those strings in the front end profile edit (not other locations) are not getting translated? which translation are you using?

Avatar
cwwcwi0ecnuwijcowecwreiovuejwcko
Member
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2012 - 9:04 am

I'm using a Dutch translation, the records are present and translated in the .mo and .po file. Other records are loaded without problem, except the ones in sp-form-global-options.php.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2012 - 9:08 am

just wanted to be sure you meant on the global options form AND ONLY the global options form...  if a similar string is used elsewhere, it might be in different translation file...  most of the front end strings are translated in the theme, not core... profile stuff is an exception...

will get with Andy (he is the localization expert of the two of us) and see what might be going on...

Avatar
cwwcwi0ecnuwijcowecwreiovuejwcko
Member
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2012 - 9:27 am

"Hide Online Status", "Update Global Options" and "On this panel, you may set your Global Options preferences." are all present in the "front-end-nl_NL.mo" and po file. They are translated.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2012 - 9:31 am

is that front-end really appended on the file??  not what you want to call it in your languages folder... should be sp-nl_NL.mo

will have to check our glotpress site and see if we messed up the slug in 5.2...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2012 - 9:34 am

yup. was wrong on 5.2... have corrected the slug for front end (sp) and admin (spa)...  so the filenames were wrong...

if you had not done it, in your forum-languages it should be sp-nl_NL.mo...  not front-end-nl_NL.mo...

if you had already done that, will need more research with Andy as I mentioned...

Avatar
cwwcwi0ecnuwijcowecwreiovuejwcko
Member
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2012 - 9:35 am

Lol that was the problem. Downloaded as front-end-nl_NL. Changed name and it fixed it :o

I guess admin-nl_NL.mo should be changed to spa-nl_NL.mo

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 21, 2012 - 9:48 am

yes, correct... I have corrected the downloads on glotpress for the right name...  thanks for the heads up!

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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625