Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Change the language (Read 3267 times)
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Change the language
Reply #4 - Jul 7th, 2014 at 3:54pm
Print Post  
Works  Wink
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Change the language
Reply #3 - Jul 7th, 2014 at 3:48pm
Print Post  
Got it.

In Register.template find

Code (Perl)
Select All
$myreg_req = q~ <span style="color:#ff0000; font-weight:700">*</span> ~;
 



Add after
Code (Perl)
Select All

if ( $FORM{'reglanguage'} ) {
    $language = $FORM{'reglanguage'};
    LoadLanguage('Register');
} 



The problem was that the template file didn't know what language it needed.  Embarrassed
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Change the language
Reply #2 - Jul 7th, 2014 at 1:51pm
Print Post  
Correctly. The labels turn right.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Change the language
Reply #1 - Jul 7th, 2014 at 1:42pm
Print Post  
That's truly wierd. Off to check it.
Edited:
Okay - what I'm seeing is that although I can select the Language not all the labels switch over properly. When I choose German on an English default board, about half the labels switch to German.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Change the language
Jul 7th, 2014 at 7:55am
Print Post  
In the Registry window, the language can not be selected correctly. She stays on at the set default language, up to the point the mail. See screener.
  

Bild2_004.jpg (Attachment deleted | 31 Downloads )

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint