Switching Languages



When switching between languages using CakePHP 2.x

Ensure you add the args so that you don't get an error when switching within deep pages

<?php $args = implode(',' ,$this->params->params['pass']); ?>

<?php if (isset($langEN)): ?>
<?php echo $this->Html->link('FR', array(
'language' => 'fre',
$args
)); ?>

<?php elseif (isset($langFR)): ?>
<?php echo $this->Html->link('EN', array(
'language' => 'eng',
$args
)); ?>
<?php endif; ?>

Other Instructions

Below are many other instructions that show you how to use your UpdateCase application