Back to Translate Extended Support

maxDubovsky
maxDubovsky

Hi, There is a problem.

Let's assume I have a page with serviceSlug as a translated slug parameter and it has a language variations url = "/services/:serviceSlug"

[viewBag] localeUrl[ru] = "/каталог/:serviceSlug"

serviceSlug can be: 'transport-services' in english, or 'транспорт' - in russian.

In this case we will have 404 or Exception because if we will try to change page we will still have the language selected at the moment. How we can pass a parametr to the component so it will not brake the logic ?

maxDubovsky
maxDubovsky

There is another place where you can test this issue. Let's say you have multilanguage site with rainlab.blog and blogs have categories. If you translated slugs for the categories 'Translate Extended Locale Picker' will fail on that.

n.morgana
n.morgana

Hi! Did you manage to solve your problem? I'm facing the exact same issue here..

maxDubovsky
maxDubovsky

n.morgana said:

Hi! Did you manage to solve your problem? I'm facing the exact same issue here..

Actualy this was solved a while ago by RainLab Translate plugin. https://github.com/rainlab/translate-plugin#url-parameter-translation

1-4 of 4