Comments (4)
Yes you can there should be a class or library for languages
from ecommerce-codeigniter-bootstrap.
Check the following path you can change the language
application/config/config.php
Line 98 you can change it from English to what you want .....
from ecommerce-codeigniter-bootstrap.
Many thanks. I did the changes below and it loads the Farsi by default on site load instead of English.
/*
$config['language'] = 'english';
$config['language_abbr'] = 'en';
$config['currency'] = '€';
$config['currencyKey'] = 'EUR';
*/
$config['language'] = 'farsi';
$config['language_abbr'] = 'fa';
$config['currency'] = 'Rial';
$config['currencyKey'] = 'IRR';
But, the English option still remains as a select in the list.
What I am trying to achieve is single language by default and no selections be given.
Where in the code would I need to edit to achieve that?
from ecommerce-codeigniter-bootstrap.
OK. I got the languages select option disabled by changing the code as below.
On the loaded template header file, I did this simple hack.
//$num_langs = count($allLanguages);
$num_langs = 0;
And it removed the select box completely.
from ecommerce-codeigniter-bootstrap.
Related Issues (20)
- Laravel ecommerce project HOT 1
- Recommended db settings HOT 3
- Discount code error HOT 1
- More than one quantity problem HOT 1
- Possible XSS vulnerabilities HOT 3
- problem with sql database HOT 4
- Problem with the code HOT 1
- Account HOT 1
- Search bar and category HOT 3
- SOCIAL MEDIA SHARING OPTION WILL BE GOOD HOT 1
- delete order HOT 1
- A PHP Error was encountered HOT 2
- A php error was encountered HOT 1
- A PHP Error was encountered HOT 4
- i want your help please im bigenner HOT 1
- A PHP Error was encountered HOT 4
- Error on PHP 7.4 HOT 1
- I followed your installation but i have too many errors HOT 1
- .htaccess file config 404 Not Found HOT 4
- how to change currency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecommerce-codeigniter-bootstrap.