Canada Post NopCommerce plugin Language output

Posted: October 12, 2017 at 3:32 PM Quote #194589
I need to have received the evaluation quote from the post canada plugin in french, is there a way to have that ?

I'm using Canada Post NopCommerce plugin for nopcommerce 3.9

Thanks !
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: October 14, 2017 at 2:19 PM Quote #194671
There are no options in the plugin to set it, but in the code I see

        private static HttpWebResponse Request
...
                request.Headers.Add(HttpRequestHeader.AcceptLanguage, "en-CA");

And, I see the online docs indicate:
Accept-language      en-CA or fr-CA

So, it will need to be updated in code.

(For getting the shipment tracking number, I also see
        public virtual string GetUrl(string trackingNumber)
        {
            string url = "http://www.canadapost.ca/cpotools/apps/track/personal/findByTrackNumber?trackingNumber={0}&LOCALE=en";
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
www.noptools.com
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2017
Learn more