sy1223 Posted April 25, 2005 Share Posted April 25, 2005 I have a question about the search function in osCommerce. How can I modify the source code so that it can support the searching in other languages?(for example, Chinese, etc) Thanks! Link to comment Share on other sites More sharing options...
boxtel Posted April 26, 2005 Share Posted April 26, 2005 I have a question about the search function in osCommerce.How can I modify the source code so that it can support the searching in other languages?(for example, Chinese, etc) Thanks! <{POST_SNAPBACK}> you do not need to change the code for that, it already does that. if your osc language setting is chinese, it does the search in the chinese names and descriptions. if you want all results disregarding language then you need to strip the reference to languages_id in the where clauses. Treasurer MFC Link to comment Share on other sites More sharing options...
sy1223 Posted April 26, 2005 Author Share Posted April 26, 2005 you do not need to change the code for that, it already does that.if your osc language setting is chinese, it does the search in the chinese names and descriptions. if you want all results disregarding language then you need to strip the reference to languages_id in the where clauses. <{POST_SNAPBACK}> But the problem is, when I use the charset default by Osc, it can search chinese but it cannot display chinese words correctly. I have tried to charset in "advanced_search.php" to "iso-8859-1" I can search the chinese words But i cannot display the chinese words correctly. How to fix it? Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.