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)
|
![]() |
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. 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. ![]() - 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... |