News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Default templates and language files not up to date

Started by Gandrel, May 12, 2019, 05:06:33 AM

Previous topic - Next topic

Gandrel

After upgrading from 2.0.8 to 2.1 RC2, when looking at the Detailed Version Check, it's showing that the default templates and language files are not up to date:


Is there a way to get these up to date?

m4z

Regarding the language files:

  • If this is concerning the english files, I already reported it as part of https://github.com/SimpleMachines/SMF2.1/issues/5661 (item 15) and will fix it in a few days.
  • If you're talking about another language, you'll need to wait until the translation is complete.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

SychO

do you have any additional languages installed ?
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Gandrel

Just the default American English is installed.

SychO

click on the "Language Files" link and post an SS please
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Gandrel

This is the upper portion of the list:


And the lower portion:


And the remaining bottom portion:

m4z

I guess the updater is looking for the header comments, this should be relatively current (I haven't seen any change to the english files since then):

m4z@ds MINGW64 ~/Downloads/smf/2019-04-28
$ grep --color -R "Version: " *english*
Admin.english-utf8.php:// Version: 2.1 RC1; Admin
Alerts.english-utf8.php:// Version: 2.1 RC1; Alerts
Drafts.english-utf8.php:// Version: 2.1 RC1; Drafts
Editor.english-utf8.php:// Version: 2.1 RC1; Editor
EmailTemplates.english-utf8.php:// Version: 2.1 RC1; EmailTemplates
Errors.english-utf8.php:// Version: 2.1 RC2; Errors
Help.english-utf8.php:// Version: 2.1 RC1; Help
Install.english-utf8.php:// Version: 2.1 RC2; Install
Login.english-utf8.php:// Version: 2.1 RC1; Login
ManageBoards.english-utf8.php:// Version: 2.1 RC1; ManageBoards
ManageCalendar.english-utf8.php:// Version: 2.1 RC1; ManageCalendar
ManageMail.english-utf8.php:// Version: 2.1 RC1; ManageMail
ManageMaintenance.english-utf8.php:// Version: 2.1 RC1; ManageMaintenance
ManageMembers.english-utf8.php:// Version: 2.1 RC1; ManageMembers
ManagePaid.english-utf8.php:// Version: 2.1 RC1; ManagePaid
ManagePermissions.english-utf8.php:// Version: 2.1 RC2; ManagePermissions
ManageScheduledTasks.english-utf8.php:// Version: 2.1 RC1; ManageScheduledTasks
ManageSettings.english-utf8.php:// Version: 2.1 RC2; ManageSettings
ManageSmileys.english-utf8.php:// Version: 2.1 RC1; ManageSmileys
Manual.english-utf8.php:// Version: 2.1 RC1; Manual
ModerationCenter.english-utf8.php:// Version: 2.1 RC1; ModerationCenter
Modifications.english-utf8.php:// Version: 2.1 RC2; Modifications
Modlog.english-utf8.php:// Version: 2.1 RC1; Modlog
Packages.english-utf8.php:// Version: 2.1 RC2; Packages
PersonalMessage.english-utf8.php:// Version: 2.1 RC1; PersonalMessage
Post.english-utf8.php:// Version: 2.1 RC1; Post
Profile.english-utf8.php:// Version: 2.1 RC1; Profile
Reports.english-utf8.php:// Version: 2.1 RC2; Reports
Search.english-utf8.php:// Version: 2.1 RC1; Search
Settings.english-utf8.php:// Version: 2.1 RC1; Settings
Stats.english-utf8.php:// Version: 2.1 RC1; Stats
Themes.english-utf8.php:// Version: 2.1 RC1; Themes
Timezones.english-utf8.php:// Version: 2.1 RC2; Time zone descriptions
Who.english-utf8.php:// Version: 2.1 RC1; Who
index.english-utf8.php:// Version: 2.1 RC2; Index

m4z@ds MINGW64 ~/Downloads/smf/2019-04-28
$


(You can get the same result by simulating to freshly install the English language in a 2.1rc2 installation.)

As I said, I'll be fixing those with GH#5661.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

Gandrel


SychO

The default language files are up to date, it's just the british language files that are from 2.0, you should uninstall the language and re-install it to get the updated files
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

m4z

So the red "2.1 RC1"s aren't actually a problem?
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

SychO

Quote from: m4z on May 12, 2019, 03:21:21 PM
So the red "2.1 RC1"s aren't actually a problem?

oh I didn't notice some of the default ones are at 2.1 RC1, since all default lang file versions have been updated to 2.1 RC2
@Gandrel download the large 2.1 RC2 upgrade package and replace the language files with them, though that should've been taken care of the first time you upgraded so I'm not sure why they're still at RC1
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Gandrel

Quote from: SychO on May 12, 2019, 03:37:34 PM
oh I didn't notice some of the default ones are at 2.1 RC1, since all default lang file versions have been updated to 2.1 RC2
@Gandrel download the large 2.1 RC2 upgrade package and replace the language files with them, though that should've been taken care of the first time you upgraded so I'm not sure why they're still at RC1

Could that be a bug then perhaps?

m4z

Quote from: SychO on May 12, 2019, 03:37:34 PM
Quote from: m4z on May 12, 2019, 03:21:21 PM
So the red "2.1 RC1"s aren't actually a problem?

oh I didn't notice some of the default ones are at 2.1 RC1, since all default lang file versions have been updated to 2.1 RC2

That's not what I see in the Language Editor; my grep above was on files downloaded from the LE; apparently after RC1 it was simply overlooked to update most of them, hence GH#5661, item 15:
Quote
* there are many deprecated Headers (pre-2.1rc2). [...]
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

m4z

Quote from: m4z on May 12, 2019, 04:06:15 PM
apparently after RC1 it was simply overlooked to update most of them, hence GH#5661, item 15[...]

To be more precise, I do see some commits in the LE for the *english* files in my view that say they're bumping to rc2, but for most of them, the last bump is for rc1.

I was gonna say I actually saw files that had an rc2 bump comment but still the rc1 header, but it seems (just like you) I just overlooked that it was rc1 in the bump instead of 2.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

SychO

if you're editing the default english files you should get them from the repo not LE, also I don't think there are any Langfile.lang-utf8.php type of langs in 2.1
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

m4z

Quote from: SychO on May 12, 2019, 04:20:05 PM
if you're editing the default english files you should get them from the repo not LE, also I don't think there are any Langfile.lang-utf8.php type of langs in 2.1

That's a good point, I didn't know they're not synchronized and the official translation docs don't mention this. Plus, from what I can tell, the language packages are created from the LE (I'm seeing the outdated headers in my rc2 installations). I'll add that to my issue and reference this in the translations forum.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

Advertisement: