newsletterBuilder multilanguage system messages

By ross - December 20, 2013

Hi Karls

Thanks for the email!

Could you email me your FTP details and login to CMS Builder via consulting@interactivetools.com?  I'll need to do some digging around in your system to see what you have setup and figure out the best way to get the multi language support you need.

Thanks!

-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Hi Ross,

Thank you for your reply.

I modified the newsletterBuilder.php (i using the latest, v3.01) and added additional code (array $noteLib[] with message code) to each line where error messages added to $errorsAndAlerts.
After this i returned the code

return array($errorsAndAlerts, $noteLib, $lists, $authUserNum, $authUserEmail);

I added the $noteLib to this line. After in my nl_manage.php i called:

list($errorsAndAlerts, $noteLib, $lists, $authUserNum, $authUserEmail) = nlb_frontend_dispatcher3();

and from the listed $noteLib i translated with function to my desired languages.

If any easier solution avaiable, please let me know,
Karls

By ross - December 23, 2013

Hi Karls

Great! The code looks good to me. Keep in mind that we don't support custom code like this so it will be tricky for us to troubleshoot anything down the road. It seems like you have a fairly good handle on it though so I think you are going to be fine.

One time I can offer for custom changes to your plugin. Newsletter Builder should have a readme.txt in its main folder. My suggestion is to make a copy of that file calling it "readmeCustom.txt". In the custom file, document the changes you made so when you upgrade, you can refer back to this and make the changes again.  Re-naming it means you won't override it when you upgrade :).

Keep us up to date with how you are making out.

Thanks!

-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/