newsletterBuilder multilanguage system messages

By ht1080z - December 17, 2013

Dear iTools Team,

We build almost every time multilingual websites with cmsb and whenever we use membership and/or newsletterBuilder i need to add to the standard code (default created with code generator) an additional error checking section, so i get error messages not only from the plugin but for the languages we use as secondary or for more.

Feature request: Can you modify the base membership and newsletterBuilder plugins (that currently handle the error or success messages in different functions) and create table for all the messages?
In this way will be easier to make these multilingual.

Question: Can i copy(cut) and paste the nlb_frontend_dispatcher3 function to my manage.php page and handle this way the subscriptions and the messages for the newsletterBuilder?

Please advise,
Karls

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/

By ht1080z - December 23, 2013

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