Canada Post NopCommerce plugin Language output

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
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 !
6 years ago
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";
6 years ago
Thanks, it's changed :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.