News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

2.1 Upgrade - language issues?

Started by Snrj, March 16, 2018, 07:27:48 PM

Previous topic - Next topic

Snrj

localhost smf 2.0.15 upgrade testing error
solution
upgrade.php
find
// Initialize everything and load the language files.
replace
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 ?

shawnb61

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?

Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Snrj

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

albertlast

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.

Snrj

#4
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
// And now include the actual language file itself.
require_once(dirname(__FILE__) . '/Themes/default/languages/' . $_SESSION['installer_temp_lang']);

replace
// 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

Advertisement: