Hi,
I have a custom route on a localized site (en & fr), but I'm relatively new to SS and haven't figured out how to provide a French version of the same route. I hard coded a second route with "fr/" (using the same action), but I still need to pass the locale to the templates. I was trying to do something in the controller init function along the lines of :
i18n->set_locale('fr_FR');
here are the routes:
Director:
rules:
'collection-rules//$Action/$ID/$OtherID': 'CollectionRulePageController'
'fr/collection-rules//$Action/$ID/$OtherID': 'CollectionRulePageController'
any advise would be greatly appreciated...
Mike