The following warnings occurred:
Warning [2] Trying to access array offset on value of type null - Line: 59 - File: inc/class_session.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_session.php 59 errorHandler->error
/global.php 54 session->init
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Language doesn't load - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4)
+--- Thread: Language doesn't load (/showthread.php?tid=123)

Pages: 1 2


Language doesn't load - mrGarvin - Apr 22nd, 2009

Hi all!

This is a new problem I guess...since there isn't that many languages available yet :-)

I have finished translating FT 2 into Swedish and downloaded the languagefile from the language repository but I can't get it to change language.

Yes, the file is placed in /global/lang/
Yes, it shows up and is set in the lang popup under "Your account" and "Settings - Accounts"
Yes, I have restarted my browser.
Yes, I have tried chmod it to 644 (like en_us.php is)

Any suggestion on what to do next?

Best regards,

Peter


RE: Language doesn't load - Ben - Apr 22nd, 2009

Wow! Excellent, thanks Peter.

Would it be possible for you to send me the file? The language functionality is pretty untested right now so I'll install your file locally and see what's going wrong.

- Ben (formtools@encorewebstudios.com)


RE: Language doesn't load - Ben - Apr 25th, 2009

Ah! Never mind. I didn't realize you were using Open Translate.

I'll install it and get back to you soon.

- Ben


RE: Language doesn't load - Ben - Apr 27th, 2009

I've been looking into this. It's actually a non-trivial problem; part of the code was simply out of date, which was easy to fix, but there's a nagging problem left over... I'll post back when I've come up with a fix.

- Ben


RE: Language doesn't load - mrGarvin - Apr 28th, 2009

(Apr 27th, 2009, 7:22 PM)Ben Wrote: I've been looking into this. It's actually a non-trivial problem; part of the code was simply out of date, which was easy to fix, but there's a nagging problem left over... I'll post back when I've come up with a fix.

- Ben

Excellent Ben.
Another thing... I had a couple of translation questions which I posted there. If you have the time, could you take a look?

//Peter


RE: Language doesn't load - Ben - Apr 28th, 2009

Will do, Peter. I'll try and get to it tomorrow night (darn day job! ;-))

Today's build contains the fix for the language files so that it's at least showing up. However, the language file contents were slightly outdated so when you log back into Open Translate you'll see a few more lines to translate. Very few - under 10, I believe.

When returning to FT2, you'll need to download the latest translation file from: http://translations.formtools.org.

I'll be reviewing the whole translation component soon. No doubt there are bugs to solve...

Anyway, again, thanks for your help translating. It's MUCH appreciated!

On a sidenote, I'm planning on update the Custom Build feature (http://ft2.formtools.org/build/) to include the language packs, too. That way people can use the entire script - including the installation - in the language of their choice. Your work will really come in handy.

- Ben


RE: Language doesn't load - SamZenner - Nov 3rd, 2009

Ben,

I'm also having problems with getting the translation file to load.
As it said in the "how to Install" I uploaded nl.php to "/global/lang/" under the formtools root folder and set the account language to Dutch, but the interface remains in English.

Can you assist?

Kind Regards,

Sam


RE: Language doesn't load - Ben - Nov 7th, 2009

Hi Sam,

So you changed the account language to "Dutch" via the "Your Account" navigation page? This one trips me up too - it needs to be set in two places: one for the client accounts and one for the administrator account.

Let me know how it goes. If you're still having trouble I'll test things out locally and see what's up. Smile

- Ben


RE: Language doesn't load - SamZenner - Nov 8th, 2009

Hi Ben,

I did change the account language to "Dutch", for both admin and clients. And the file is uploaded to the proper location. I can't see what I'm doing wrong...

Kind regards,

Sam


For testing purposes I tried to install the swedish language file and see if that one works. After installing and changing the language settings, nothing changed. Either sth 's wrong with my specific installation (v2.0.0-beta-20091101), my setup (however config.php seems correct) or sth else's wrong...


RE: Language doesn't load - Bryn - Nov 8th, 2009

Same here with the Italian translation. File is on the right place, and configuration is fine. Logged out and in again - but everything is still in English.

This bug must be squashed...