Support Forums - Classified Ads Script Osclass
General osclass questions => General discussion => Topic started by: hepi on July 16, 2020, 11:40:33 PM
-
Hei,
can you help me to change the language "Login into your account" on user/login and Create a new account on user/register.
I have tried poedit, but only that 2 words won't change.
Thanks.
-
Check theme translations, you must update po and mo files
-
yes I did, but strangely only that sentence won't change. :-\
-
Open .po file with notepad and check if that file reference user-register file.
If yes, everything is ok in theme
-
it is written helpers/hTheme.php:571
but it should be 582
(571)$lang['user_dashboard_profile'] = __("%s's profile", osc_current_web_theme());
(582)$lang['register'] = __('Create a new account', osc_current_web_theme());
I have change from 571 to 582 but it won't works.
-
//From this
osc_add_filter("mcf_oneaction_title", function ($text) {
return mtk_title();
});
//To this
osc_add_filter("mcf_oneaction_title", function ($text) {
return __("Login", osc_current_web_theme());
});
1. where to find mtk_title?
2. does it affect the system?
Thanks
-
@hepi
It would be strange that translation works ok for 100 000 sites and just yours needs modification in osclass core.
Check your tranlsation files instead and upload both mo and po files.