Hi,
why not using jLanguage to append lang parameter to your url :
Before : $app->redirect( JRoute::_( $url, false ), null, null, true, true );
$url = $url . '&lang=' . substr(jFactory::getLanguage()->getTag(), 0,2);
That should append language sef code to your url, if your code is well
name as 2 firsts characters of the language tag. Else you have to get
Sef Code.
Not tested but can work.
Best regards,
Aymeric Dourthe
Your web expert engineer
Le 20/02/2013 17:28, ljk a �crit :
> an email to joomla-dev-general+unsub...@googlegroups.com.
> an email to joomla-dev-gene...@googlegroups.com.
> To post to this group, send an email to
> joomla-de...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/joomla-dev-general?hl=en-GB.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
--
Please keep the Subject wording in your answers
> an email to joomla-dev-general+unsub...@googlegroups.com.
> To post to this group, send an email to
> joomla-de...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/joomla-dev-general?hl=en-GB.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.