Advertisement:

Author Topic: 2.1 Upgrade - language issues?  (Read 900 times)

Offline Snrj

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • Snrj Forumları
2.1 Upgrade - language issues?
« 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 ?

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,593
    • sbulen on GitHub
Re: 2.1 Upgrade - language issues?
« Reply #1 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?

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

Offline Snrj

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • Snrj Forumları
Re: 2.1 Upgrade - language issues?
« Reply #2 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

Offline albertlast

  • Development Contributor
  • Full Member
  • *
  • Posts: 591
Re: 2.1 Upgrade - language issues?
« Reply #3 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.

Offline Snrj

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • Snrj Forumları
Re: 2.1 Upgrade - language issues?
« Reply #4 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
« Last Edit: March 17, 2018, 05:49:50 AM by Snrj »