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 30660 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2276
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: 882
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
*****
Offline


I love YaBB 2.7!

Posts: 2276
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 Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2276
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 pyragony54
Language
***
Offline


I Love YaBB!

Posts: 882
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
*****
Offline


I love YaBB 2.7!

Posts: 2276
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 | 428 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: 882
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 pyragony54
Language
***
Offline


I Love YaBB!

Posts: 882
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #14 - Oct 30th, 2016 at 2:03pm
Mark & QuoteQuote  
Okay, the error message is now gone, but it does not switch to German.
  

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
*****
Offline


I love YaBB 2.7!

Posts: 2276
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 #13 - Oct 30th, 2016 at 1:37pm
Mark & QuoteQuote  
I'll get the newest fixes into the SVN tonight or tomorrow.
  

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


I love YaBB 2.7!

Posts: 2276
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 #12 - Oct 30th, 2016 at 1:32pm
Mark & QuoteQuote  
Thanks for the catch - in Notify.pm change both 'getMailFiles()' to 'get_mail_files()'.

There are still a lot of glitches in 2.7.0 due to trying to bring it to the higher standards of no subroutines or variables having mixed upper and lowercase letters in their names.

Also, here:
Code (Perl)
Select All
<add before>
     $add_german = q~Add German Language for YaBB 2.7.00|Dandello|This mod adds the internal references for the German Language Pack.|0.1|2/17/2016~;
     push @installed_mods, $add_german;
 </add before> 



Needs to be
Code (Perl)
Select All
<add before>
     my $add_german = q~Add German Language for YaBB 2.7.00|Dandello|This mod adds the internal references for the German Language Pack.|0.1|2/17/2016~;
     push @installed_mods, $add_german;
 </add before> 



Strict requires all variables to be 'owned' explicitly.

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.

Edited:
I'm going away from nt desk for the day but tomorrow I'll see if I can sort out the other issues you've described.
  

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: 882
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #11 - Oct 30th, 2016 at 10:29am
Mark & QuoteQuote  
Here are the first german files. It is not yet translated, since I do not yet understand the connections.
Problem: As a guest, I see everything in German language, so can switch to German in the pull-down. After the login everything is only in English. In the forum setting, I can change to German, but it remains English, even if then German stands. If I want to change the control center in German, I get the following error message

Quote:
Untrapped Error :
Undefined subroutine &main::getMailFiles called at Sources/Notify.pm line 349.


I do not know why.

Go to:
http://yabbtest.de

Your admin profile is saved there.

German_Du is not available yet.

Edited:
Deleted, to many errors


« Last Edit: Nov 1st, 2016 at 6:28am 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 pyragony54
Language
***
Offline


I Love YaBB!

Posts: 882
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #10 - Oct 30th, 2016 at 9:35am
Mark & QuoteQuote  
Code
Select All
<search for>
                     || $files_name_cgi eq 'Members/'
 </search for>

 <add before>
                     || $files_name_cgi eq 'Languages/German/'
                     || $files_name_cgi eq 'Languages/German/Mods/'
 </add before>
  




Korrektur

Code
Select All
<search for>
                     && $files_name_cgi ne 'Members/'
 </search for>

 <add before>
                     && $files_name_cgi ne 'Languages/German/'
                     && $files_name_cgi ne 'Languages/German/Mods/'
 </add before>
  




  

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
*****
Offline


I love YaBB 2.7!

Posts: 2276
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 #9 - Jul 27th, 2016 at 5:15pm
Mark & QuoteQuote  
Yes, German and German_Du would be very possible. The question really is, is there a real need for two different German language packs? As the translator, it's your call.

  

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: 882
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Adding Language Packs to 2.7.00
Reply #8 - Jul 27th, 2016 at 3:08pm
Mark & QuoteQuote  
I thought to myself. But then quite German and German_Du would be possible.
  

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
*****
Offline


I love YaBB 2.7!

Posts: 2276
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 #7 - Jul 27th, 2016 at 12:43pm
Mark & QuoteQuote  
Code
Select All
$germanadminlngver = 'YaBB 2.7.00 $Revision: 1688 $';
 @germanadminlngmods = ();
 if (@germanadminlngmods) {
     $germanadminlngmods = 1;
 }
 if ( $action eq 'detailedversion' && $language ne 'German' ) { return 1; }  



For each German language file replace the
Code
Select All
$englishxxxlngver 

with the lowercase name of the specific language folder.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
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