2013-05-26, 19:43:12
(2013-05-26, 06:28:16)Carlos Wrote: While testing I18N with a one-language site I've found that in the backend, links to pages have the lang=xx parameter ('#' in page manager, 'view' when editing, 'Link to local page' in CKeditor...).
Is this the normal behaviour or am I doing something wrong?
For the links in the backend ('#', 'view') the language must be included in the URL as otherwise you might see the wrong language (depending on your browser settings).
For the links within pages it is necessary only for some special cases, but probably could be removed. However, by now I18N supports so many case of including the language in the URL (or determining it on-the-fly from the browser's languages) that it is difficult to determine the side effects.
Currently the only time no language is included in the URL is when your fancy URL includes %PARENTS%, but not %LANGUAGE% or %NONDEFAULTLANGUAGE% - and that's a bug ;-)