joomla-extensions / pkg_languagepack

3 stars 10 forks source link

Switching Languages Breaks the page #90

Open conconnl opened 3 years ago

conconnl commented 3 years ago

Go too: https://downloads.joomla.org/language-packs/translations-joomla4/downloads/joomla4-arabic-unitag Switch to another language.

Result:

image

Go too: https://downloads.joomla.org/language-packs/translations-joomla4 Switch to another language and press the green button, which means you arrive in (for welsh): https://downloads.joomla.org/cy/language-packs/translations-joomla4/downloads/joomla4-arabic-unitag

This works, while it's the same page.

HLeithner commented 2 years ago

@wilsonge any idea how this could happen?

wilsonge commented 2 years ago

i mean generally speaking ars is very specific about it's required menu structure. suspect it's because we had separate menu items for each language under the components menu item. but we'd have to dig deep into the ars router i guess.

note when we switch language the url changes from https://downloads.joomla.org/cy/language-packs/translations-joomla4/downloads/joomla4-arabic-unitag to https://downloads.joomla.org/cy/language-packs/translations-joomla4/downloads (i.e. it looses the trailing slug)