• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How use translated database

#25
[eluser]Shwetang[/eluser]
Hi,

this is my route file :
*/

$route[‘default_controller’] = “redireciona”;
$route[‘404_override’] = ‘’;

// All re-mappings must begin with ‘^(en|et|ru)’ !!!

$route[’^(en|pt)/(.+)$’] = “$2”;
$route[’^(en|pt)$’] = $route[‘default_controller’];


//novas rotas para o menu
$route[‘home’] = ‘main_controller’;
$route[‘en/home’] = ‘main_controller’;
$route[‘a-bysat’] = ‘bysat_controller’;
$route[‘en/a-bysat’] = ‘bysat_controller’;
$route[‘en/produtos-e-servicos’] = ‘prod_serv_controller’;
$route[‘produtos-e-servicos’] = ‘prod_serv_controller’;
$route[‘en/casos-de-sucesso’] = ‘casos_controller’;
$route[‘casos-de-sucesso’] = ‘casos_controller’;
$route[‘en/trabalhe-conosco’] = ‘trabalhe_controller’;
$route[‘trabalhe-conosco’] = ‘trabalhe_controller’;
$route[‘en/entre-em-contato’] = ‘contato_controller’;
$route[‘entre-em-contato’] = ‘contato_controller’;
$route[‘en/contato’] = ‘contato_controller/contato/’;
$route[‘contato’] = ‘contato_controller/contato/’;
$route[‘casos_detalhes/(:num)’] = ‘casos_controller/detalhes/’;
$route[‘en/casos_detalhes/(:num)’] = ‘casos_controller/detalhes/’;
$route[‘segmentos/(:num)’] = ‘casos_controller/segmentos/’;
$route[‘en/segmentos/(:num)’] = ‘casos_controller/segmentos/’;


I have translated my website using mci language package but now the problem is link en/casos_detalhes/(:num) and en/segmentos/(:num) are not working but the other routes as in the links are working very fine ..Someone please help if you know what is happening ...

Thank You


Messages In This Thread
How use translated database - by El Forum - 10-01-2012, 07:35 AM
How use translated database - by El Forum - 10-01-2012, 07:45 AM
How use translated database - by El Forum - 10-01-2012, 09:18 AM
How use translated database - by El Forum - 10-01-2012, 09:19 AM
How use translated database - by El Forum - 10-01-2012, 10:54 AM
How use translated database - by El Forum - 10-01-2012, 11:02 AM
How use translated database - by El Forum - 10-01-2012, 11:06 AM
How use translated database - by El Forum - 10-01-2012, 11:38 AM
How use translated database - by El Forum - 10-01-2012, 11:52 AM
How use translated database - by El Forum - 10-01-2012, 12:43 PM
How use translated database - by El Forum - 10-01-2012, 12:47 PM
How use translated database - by El Forum - 10-01-2012, 01:08 PM
How use translated database - by El Forum - 10-01-2012, 02:10 PM
How use translated database - by El Forum - 10-02-2012, 05:10 AM
How use translated database - by El Forum - 10-02-2012, 05:18 AM
How use translated database - by El Forum - 10-02-2012, 05:27 AM
How use translated database - by El Forum - 10-02-2012, 05:33 AM
How use translated database - by El Forum - 10-02-2012, 05:36 AM
How use translated database - by El Forum - 10-02-2012, 05:39 AM
How use translated database - by El Forum - 10-02-2012, 06:46 AM
How use translated database - by El Forum - 10-02-2012, 06:53 AM
How use translated database - by El Forum - 10-02-2012, 06:55 AM
How use translated database - by El Forum - 10-02-2012, 10:34 AM
How use translated database - by El Forum - 10-02-2012, 10:41 AM
How use translated database - by El Forum - 10-05-2012, 11:05 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.