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

Links not right if I change the language #5282

Open
fizi opened this issue Jun 18, 2024 · 3 comments
Open

Links not right if I change the language #5282

fizi opened this issue Jun 18, 2024 · 3 comments
Labels
type: bug A problem that should not be happening

Comments

@fizi
Copy link

fizi commented Jun 18, 2024

What e107 version are you using?

Latest Github version (just updated)

Bug description

Example:
Main link: News - news.php.
English: news.php?elan=en
I change lang tu HU - news.php?elan=hu

Main link: Contact - contact.php
English: contact.php?elan=en
I change to HU - contact.php?elan=hu

Main link: users - user.php
English: user.php?elan=en# (not registered members)
I change the language: user.php?elan=hu (not registered members)

The caption and breadcrumb not right.

How to reproduce

Change language.

Expected behavior

Samething wrong with language change.

What browser(s) are you seeing the problem on?

Firefox

PHP Version

7.4

@fizi fizi added the type: bug A problem that should not be happening label Jun 18, 2024
@tgtje
Copy link
Contributor

tgtje commented Jun 22, 2024

@fizi
after some testing> question: i can confirm behaviour (php 8.+) but only with BS 5. Is this the same for you ?
Either with userlanguage(menu) or elan use.

Extra : enable admin menu... when { CAPTION / Breadcrumb .... } is displayed (guessing HU use) > is the admin menu for admin area links > shortcut use; disabled??

It looks like when EN is main site language, other language throws issues.

@fizi
Copy link
Author

fizi commented Jun 22, 2024

I use bootstrap 5 and elan (not with menu).

@tgtje
Copy link
Contributor

tgtje commented Jun 29, 2024

update: did make some test using the above switching trying to figure out why it occurs.
Made some screenshots displaying what appears when switching with elan between en and nl.
Maybe some dev sees whats going on (2.3.3 and php 7.4.22 > memory issue).
1p7
2p8
3p7-8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A problem that should not be happening
Projects
None yet
Development

No branches or pull requests

2 participants