Post by kazihaha » Wed Oct 18, 2017 9:36 am

Hi everyone,
I try to translate "search=" in url when searching for something but I can not find it.
Where can I find that text?
Thanks for your help.

https://sieuthithietbivanphong.com


New member

Posts

Joined
Wed Sep 23, 2015 2:13 pm

Post by straightlight » Wed Oct 18, 2017 9:39 am

- catalog/controller/product/product.php file
- catalog/controller/product/search.php file

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by kazihaha » Wed Oct 18, 2017 11:18 am

straightlight wrote:
Wed Oct 18, 2017 9:39 am
- catalog/controller/product/product.php file
- catalog/controller/product/search.php file
Thanks, but I think I get no luck :D

https://sieuthithietbivanphong.com


New member

Posts

Joined
Wed Sep 23, 2015 2:13 pm

Post by thekrotek » Wed Oct 18, 2017 2:11 pm

And why do you want to translate URL variable? There's absolutely no point in it, especially in non-SEF URLs.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by kazihaha » Wed Oct 18, 2017 4:02 pm

thekrotek wrote:
Wed Oct 18, 2017 2:11 pm
And why do you want to translate URL variable? There's absolutely no point in it, especially in non-SEF URLs.
OH, I just want to make it more friendly to our local customer.

https://sieuthithietbivanphong.com


New member

Posts

Joined
Wed Sep 23, 2015 2:13 pm

Post by paulfeakins » Wed Oct 18, 2017 5:03 pm

straightlight wrote:
Wed Oct 18, 2017 9:39 am
The most generated errors being found on Opencart forum originates from contributed programming.
Are you actually in Canada? Because I have no idea what this actually means in English :laugh:

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by paulfeakins » Wed Oct 18, 2017 5:07 pm

As others have said it's probably not worth the effort, but I do see the reason.

Here's a list of all front-end files that contain the word "search", you'd need to go through a lot of these if you want to do a proper job:

Code: Select all

catalog/view/theme/default/template/information/sitemap.twig
catalog/view/theme/default/template/common/search.twig
catalog/view/theme/default/template/common/header.twig
catalog/view/theme/default/template/product/search.twig
catalog/view/theme/default/template/product/special.twig
catalog/view/theme/default/stylesheet/stylesheet.css
catalog/view/javascript/common.js
catalog/view/javascript/bootstrap/css/bootstrap.min.css
catalog/view/javascript/bootstrap/css/bootstrap.css.map
catalog/view/javascript/bootstrap/css/bootstrap.css
catalog/view/javascript/font-awesome/less/icons.less
catalog/view/javascript/font-awesome/less/variables.less
catalog/view/javascript/font-awesome/fonts/fontawesome-webfont.ttf
catalog/view/javascript/font-awesome/fonts/fontawesome-webfont.svg
catalog/view/javascript/font-awesome/fonts/FontAwesome.otf
catalog/view/javascript/font-awesome/fonts/fontawesome-webfont.eot
catalog/view/javascript/font-awesome/css/font-awesome.min.css
catalog/view/javascript/font-awesome/css/font-awesome.css
catalog/view/javascript/font-awesome/scss/_variables.scss
catalog/view/javascript/font-awesome/scss/_icons.scss
catalog/view/javascript/jquery/swiper/js/maps/swiper.jquery.umd.min.js.map
catalog/view/javascript/jquery/swiper/js/maps/swiper.jquery.min.js.map
catalog/view/javascript/jquery/swiper/js/maps/swiper.min.js.map
catalog/view/javascript/jquery/swiper/js/swiper.js
catalog/view/javascript/jquery/swiper/js/swiper.jquery.js
catalog/view/javascript/jquery/swiper/js/swiper.jquery.umd.js
catalog/view/javascript/jquery/datetimepicker/moment/locales.js
catalog/view/javascript/jquery/datetimepicker/moment/moment-with-locales.js
catalog/controller/information/sitemap.php
catalog/controller/common/header.php
catalog/controller/common/search.php
catalog/controller/extension/openbay/amazon.php
catalog/controller/extension/openbay/amazonus.php
catalog/controller/product/product.php
catalog/controller/product/compare.php
catalog/controller/product/search.php
catalog/model/account/search.php
catalog/model/extension/openbay/amazon_product.php
catalog/model/extension/openbay/ebay_product.php
catalog/model/extension/openbay/amazonus_product.php
catalog/language/en-gb/information/sitemap.php
catalog/language/en-gb/en-gb.php
catalog/language/en-gb/common/header.php
catalog/language/en-gb/common/search.php
catalog/language/en-gb/extension/module/filter.php
catalog/language/en-gb/product/product.php
catalog/language/en-gb/product/category.php
catalog/language/en-gb/product/search.php

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by thekrotek » Wed Oct 18, 2017 5:16 pm

You probably mixing URL variable with SEF URL. Nobody changes variables - URLs are to be changed. What you want to change is this (SEF URL):

yourdomain.com/search

Note the difference between "search=" (variable).

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by straightlight » Wed Oct 18, 2017 8:46 pm

I have no idea what this actually means in English
It may explain a thing or two.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 48 guests