Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with multilanguage #29

Open
markusa86 opened this issue Mar 10, 2017 · 3 comments
Open

Doesn't work with multilanguage #29

markusa86 opened this issue Mar 10, 2017 · 3 comments

Comments

@markusa86
Copy link

The Extension doese not work with multiple languages.
The generateLink function only use the default Language 0.

@bmoex
Copy link
Member

bmoex commented Mar 10, 2017

Hi @markusa86,

Can you give me an usecase which explains your problem. (maybe screenshot?)

Kind regards,

Benjamin Serfhos

@markusa86
Copy link
Author

hi @bmoex,

if I have TYPO3 with default language english and a second language german.
Old german Link: /products/
Old english Link: /en/products
New Link: id=6
Than everythink redirects to the default language. /en/products (id=6).

Maybe have a look here: https://typo3.org/extensions/repository/view/fb_old2new_redirect

There you have to insert the records with a sys_language_uid. Or maybe activate localization?
The main point is, that you usualy have to insert the old 2 new with a language.

Issue is here:
protected function generateLink($target)
...
$link = $controller->cObj->typoLink_URL(
['parameter' => $target]
// parameter for language is missing here.
);

otherwise is the extension great. :)

@glucka
Copy link

glucka commented Jul 26, 2017

hi @markusa86
a little workaround:
you can use the full target url by target "/products/" instead of id

of course this is not the best solution because by url change will not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants