Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Adding Language Packs to 2.7.00 Reply #30 - Nov 2nd, 2016 at 3:47pm Mark & QuoteQuote I'll get it into the SVN as soon as I've finished checking the files in the German_Land zip. One big problem - 2.7.00 is UTF-8 only. I have some errands to run this morning but I should be done with the checks today. One thing I've noticed: if a string is quoted as q~ STRING 'HERE'~ you don't need to use \' on the quote marks (because those aren't the markers for the begining and end of the string). However, you do have to use \~ if ~ is inside the quote. Edited: The problems you may be having with switching to German is that the German files have issues. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Adding Language Packs to 2.7.00 Reply #31 - Nov 2nd, 2016 at 11:02pm Mark & QuoteQuote Here is a (pretty much) fixed version of the German files (This version is currently over on the Strict test board.) I found some other issues on the Strict test board I need to square away but I should be able to update the SVN later today or tomorrow.. German_Land_b.zip ( 135 KB | 213 Downloads ) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Adding Language Packs to 2.7.00 Reply #32 - Nov 3rd, 2016 at 4:16am Mark & QuoteQuote Dandello wrote on Nov 2nd, 2016 at 3:47pm:One thing I've noticed: if a string is quoted as q~ STRING 'HERE'~ you don't need to use \' on the quote marks (because those aren't the markers for the begining and end of the string). However, you do have to use \~ if ~ is inside the quote. I thought so, but I did not know. Will test it this afternoon and finish up tomorrow morning German_Du. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Adding Language Packs to 2.7.00 Reply #33 - Nov 3rd, 2016 at 2:37pm Mark & QuoteQuote Now I understand it. Code 'staff' => q~Staff to Staff~, 'staffall' => q~Staff to All~, Code 'staff' => q{Personal ~ Intern}, 'staffall' => q{Personal ~ Mitglieder}, Can I do this? ˜ Code 'staff' => q~Personal ˜ Intern~, 'staffall' => q~Personal ˜ Mitglieder~, if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Adding Language Packs to 2.7.00 Reply #34 - Nov 3rd, 2016 at 4:02pm Mark & QuoteQuote That should work. Or you can use \~. But there's also no reason you can't go ahead and use q{Item ~ here.} Just keep in mind that YaBB uses {} for marking things to be replaced so you want to be careful using curly brackets. If you look in Perl coding books, most people use q{ } or q/ / or ' ' as their uninterpolated string brackets. ( qq{ } and " " indicate interpolated strings inside. ) YaBB uses so many curly brackets for other things that YaBB has gone with ~~ for the string brackets - but you can choose what bracket works best for what you're doing. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Adding Language Packs to 2.7.00 Reply #35 - Nov 3rd, 2016 at 5:47pm Mark & QuoteQuote I have to admit that I never talked with Perl. Now try a little experiment. Now I understand it. Thanks for the correction. Code 'staff' => q~Personal ˜ Intern~, 'staffall' => q~Personal ˜ Mitglieder~, Works perfectly. I do not want to change the Perl codes unnecessarily large, otherwise I search in later versions again. « Last Edit: Nov 3rd, 2016 at 7:08pm by pyragony54 » if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Adding Language Packs to 2.7.00 Reply #36 - Feb 3rd, 2017 at 11:06pm Mark & QuoteQuote Checking mods lead to one more change: in Menu.lng, in the %img_txt hash add Code 'no_text' => q~no text - ~, (just add it above the ); at the end of that hash. This is a placeholder for items that should be in the tabtext.txt file but might not be. So this bit of lets you know that the text is missing and what action it's supposed to be related to. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged