[Skip to main content](#vessel-content)

#   FedEx Shipping - Language Override Issue

##

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

11 years 5 months ago -  11 years 5 months ago [\#202485](#202485) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  *[FedEx Shipping - Language Override Issue](/forum/28-shipping-methods/877109-fedex-shipping-language-override-issue#202485 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Every time I go into the FedEx plugin and save the settings, it appends a set of new language entries to the languages overrides. I had tons of duplicate entries, as I have played around a lot with those settings. It really should not be adding to the language overrides at all.")* was created by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4.39

Every time I go into the FedEx plugin and save the settings, it appends a set of new language entries to the languages overrides. I had tons of duplicate entries, as I have played around a lot with those settings. It really should not be adding to the language overrides at all.

Last edit: 11 years 5 months ago by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc3MTA5LWZlZGV4LXNoaXBwaW5nLWxhbmd1YWdlLW92ZXJyaWRlLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

11 years 5 months ago [\#202508](#202508) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[FedEx Shipping - Language Override Issue](/forum/28-shipping-methods/877109-fedex-shipping-language-override-issue#202508 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Every time I go into the FedEx plugin and save the settings, it appends a set of new language entries to the languages overrides. I had tons of duplicate entries, as I have played around a lot with those settings. It really should not be adding to the language overrides at all.")*

Hi,

Thank you for your feedback.
Remove the code: Code:

$elements = array($element); $key = key($elements); if(empty($elements[$key]-&gt;shipping_params-&gt;lang_file_override)){ jimport('joomla.filesystem.file'); jimport('joomla.filesystem.folder'); $folder = JLanguage::getLanguagePath(JPATH_ROOT).DS.'overrides'; $path = $folder.DS.'en-GB.override.ini'; $content_override=''; if(JFile::exists($path)){ $content_override=JFile::read($path); } $content_override .= ' FEDEX_METER_ID="Meter #"'.' FEDEX_ACCOUNT_NUMBER="Account #"'.' FEDEX_API_KEY="API Key"'.' FEDEX_API_PASSWORD="API Password"'.' FEDEX_SHOW_ETA="Show ETA?"'.' FEDEX_SHOW_ETA_FORMAT="ETA Format"'.' PACKAGING_TYPE="Packaging Type"'.' BOX_DIMENSIONS="Box Dimensions"'.' ORIGINATION_POSTCODE="Ship From Postcode"'.' SENDER_COMPANY="Sender Company"'.' SENDER_PHONE="Sender Phone"'.' SENDER_ADDRESS="Sender Address"'.' SENDER_CITY="Sender City"'.' SENDER_STATE="Sender State"'.' SENDER_POSTCODE="Sender Zip"'; if(!JFolder::exists($folder)){ JFolder::create($folder); } if(JFolder::exists($folder)){ $path = $folder.DS.'en-GB.override.ini'; $result = JFile::write($path, $content_override); if(!$result){ hikashop_display(JText::sprintf('FAIL_SAVE',$path),'error'); }else { $elements[$key]-&gt;shipping_params-&gt;lang_file_override = 1; } } }

from the file plugins/hikashopshipping/fedex/fedex.php as it is obsolete and that will remove the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc3MTA5LWZlZGV4LXNoaXBwaW5nLWxhbmd1YWdlLW92ZXJyaWRlLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.038 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
