Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Snrj on March 16, 2018, 07:27:48 PM

Title: 2.1 Upgrade - language issues?
Post by: Snrj on March 16, 2018, 07:27:48 PM
localhost smf 2.0.15 upgrade testing error
solution
upgrade.php
find
Code: [Select]
// Initialize everything and load the language files.replace
Code: [Select]
require_once($upgrade_path . '/Themes/default/languages/Install.english.php');
// Initialize everything and load the language files.
test successful

there is a problem getting the language file :S
cause: unknown ?
Title: Re: 2.1 Upgrade - language issues?
Post by: shawnb61 on March 16, 2018, 09:05:36 PM
snrj -

I split your post into its own topic, as it is a completely different problem. 

Questions: 
  -  Were you attempting to use a language pack?
  -  Did you delete your old theme directory prior to unzipping the 2.1 files? 
  -  What is the exact process you followed when performing the upgrade?

Title: Re: 2.1 Upgrade - language issues?
Post by: Snrj on March 17, 2018, 01:12:46 AM
I have no problem :D
@gevv I wrote it as an answer https://www.simplemachines.org/community/index.php?topic=559327.msg3965791#msg3965791
I mentioned it as a solution where your friend hangs out
site english we are choosing as repair.php
local migration and upgrade test
to understand better
upgrade video
https://yadi.sk/i/-sGl6F_w3TTfMY
Title: Re: 2.1 Upgrade - language issues?
Post by: albertlast on March 17, 2018, 03:15:41 AM
Could you try to change you own language to english in the settings of your profile?

That the issues is "real",
you see in you vid on 3 min 1sec place where you see turkish words,
which shouldn't be happen because the language file is not 2.1 compatible.
Title: Re: 2.1 Upgrade - language issues?
Post by: Snrj on March 17, 2018, 05:33:08 AM
1-admin panelden category language
that is not binding on the profile

https://imgur.com/juq9YLc
https://imgur.com/Rn6FPSw


2- even if this option is turned on
set up
Is automatic site passing to the general language?

upgrade.php
Code: [Select]
// And now include the actual language file itself.
require_once(dirname(__FILE__) . '/Themes/default/languages/' . $_SESSION['installer_temp_lang']);
replace
Code: [Select]
// And now include the actual language file itself.
if(empty($_SESSION['installer_temp_lang']))
require_once(dirname(__FILE__) . '/Themes/default/languages/' . $_SESSION['installer_temp_lang']);
else
require_once(dirname(__FILE__) . '/Themes/default/languages/Install.english.php');


edit upsss
no top change required
https://github.com/SimpleMachines/SMF2.1/pull/4635
good jop albertlast