Page Index Toggle Pages: 1 [2] 3  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) Adding Language Packs to 2.7.00 (Read 15180 times)
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #15 - Oct 30th, 2016 at 2:07pm
Mark & QuoteQuote  
Quote:
In the language files, many of the variables have been removed and replaced with {yabb variable} so the language files won't throw a lot of errors and warnings to the server error log.


I have to take a closer look. Maybe I overlooked some changes.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Adding Language Packs to 2.7.00
Reply #16 - Oct 31st, 2016 at 1:24pm
Mark & QuoteQuote  
Current bug-fixed version of Load.pm  Embarrassed
  

Load_270.zip ( 11 KB | 203 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #17 - Oct 31st, 2016 at 7:22pm
Mark & QuoteQuote  
Rev 1747 will not start.

Quote:
Global symbol "$session_id" requires explicit package name at Setup.pl line 159.
BEGIN not safe after errors--compilation aborted at Setup.pl line 230.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Adding Language Packs to 2.7.00
Reply #18 - Oct 31st, 2016 at 8:00pm
Mark & QuoteQuote  
under 'use warnings;' add 'no warnings qw(uninitialized);'
  Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Adding Language Packs to 2.7.00
Reply #19 - Oct 31st, 2016 at 10:23pm
Mark & QuoteQuote  
AACKK!!
There are days that staying in bed is a really good idea - there were typos in Setup.pl. The newest one in the SVN should be good.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #20 - Nov 1st, 2016 at 7:36am
Mark & QuoteQuote  
I know such days as well. The German files I have deleted for the time being. Too many errors. Will try to finish them tonight (CET time).

I know I can be quite annoying, but when I'm really getting something, it does not take long before Alpha becomes a Beta.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Adding Language Packs to 2.7.00
Reply #21 - Nov 1st, 2016 at 1:48pm
Mark & QuoteQuote  
Today sometime I'll have the finalized English into the SVN and upload a copy of the Language Compare utility here. The utility should make it easier for you to locate the items that have changed from 2.6.

Note: even if an item is a place holder for another language and could be safely left out in 2.6,  it can't be left out anymore and has to have a blank value instead.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #22 - Nov 1st, 2016 at 7:01pm
Mark & QuoteQuote  
Dandello wrote on Nov 1st, 2016 at 1:48pm:
Note: even if an item is a place holder for another language and could be safely left out in 2.6,  it can't be left out anymore and has to have a blank value instead.
                     

I thought so. no problem


Can not make password more secure.

An Error Has Occurred. Use of uninitialized value $cur_sid in addition (+) at Sources/Profile.pm line 191.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Adding Language Packs to 2.7.00
Reply #23 - Nov 1st, 2016 at 8:20pm
Mark & QuoteQuote  
pyragony54 wrote on Nov 1st, 2016 at 7:01pm:
Can not make password more secure.

An Error Has Occurred. Use of uninitialized value $cur_sid in addition (+) at Sources/Profile.pm line 191.
                   


How were you trying to make the password more secure?
$cur_sid comes out of the browser url string when you're editing your profile. It keeps track of how long you've been logged into the edit profile section. If you're properly logged into your profile that should never be uninitialized.

That said: in Profiles.pm find
Code (Perl)
Select All
    my $cur_sid   = decloak( $INFO{'sid'} ); 

and make it
Code (Perl)
Select All
    my $cur_sid   = decloak( $INFO{'sid'} ) || 0; 

« Last Edit: Nov 1st, 2016 at 11:11pm by Dandello »  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #24 - Nov 2nd, 2016 at 3:05am
Mark & QuoteQuote  
I had badly circumscribed this. When you go to the admincenter for the first time, you are prompted to change your password to make it safer. Now it works. On the next bug, which I have yet to find.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #25 - Nov 2nd, 2016 at 4:19am
Mark & QuoteQuote  
Next:

Quote:
Attempt to reload /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Languages/German/Error.lng aborted.
Compilation failed in require at ./Sources/Subs.pm line 2553.


But I find in the Error.lng no more error.

Even if I am registered, I can not switch to German. As a guest already.
« Last Edit: Nov 2nd, 2016 at 6:15am by pyragony54 »  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Adding Language Packs to 2.7.00
Reply #26 - Nov 2nd, 2016 at 12:32pm
Mark & QuoteQuote  
I'll check this as soon as I've had my morning's coffee. However, I suspect I'll need a copy of the German Pack you're working on. The one I'm using for testing is the 2.6 version with the blanks filled in from English.

The Error.lng problem may actually indicate a YaBB error so serious that the error reporting section couldn't even load the Error.lng file. The other indicator for that is if 'Other.template' can't load.

Edited:
Ah HAH - I was able to get the first reported arror to show.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #27 - Nov 2nd, 2016 at 12:54pm
Mark & QuoteQuote  
But gladly. Should actually be almost without errors, however, some places are not yet translated, since I do not know the connections yet. I can do this only when I can switch to German.
  

German_Land_Alpha.zip ( 138 KB | 208 Downloads )

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Adding Language Packs to 2.7.00
Reply #28 - Nov 2nd, 2016 at 1:12pm
Mark & QuoteQuote  
The login with admin password issue fix:
In Error.lng find
Code
Select All
'default_password'    => qq~You are still using the YaBB Setup default password. Please login to your <a href="$scripturl?action=myprofile;username=$username">User profile</a> and change your password to something more secure.~, 


make it
Code
Select All
'default_password'    => qq~You are still using the YaBB Setup default password. Please login to your <a href="$scripturl?action=myprofile;username=$username;sid=$mysid">User profile</a> and change your password to something more secure.~, 



In Admin.pm find
Code (Perl)
Select All
            fatal_error('default_password'); 


add before:
Code (Perl)
Select All
            our $mysid = cloak( reverse substr $date, 5, 5 ); 



This is one of the reasons Alpha and Beta testers are so valuable. I never checked that link since I automatically go directly to Edit Profile before trying to login to the Admin Center.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #29 - Nov 2nd, 2016 at 3:05pm
Mark & QuoteQuote  
It is working. Please write in SVN.

Now only the most important is missing. Switch from English to German.
I will regularly update the German files.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Adding Language Packs to 2.7.00

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 10000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry