Hello dear Dspace community! I can not solve one problem and I ask you for
help!
In repository https://repository.kaznu.kz/home.
I left only three languages. When changing to any of them, I change the
language, but the redirect goes to the home-page. What could be the problem?
Here is my source code:
*src/app/shared/lang-switch/lang-switch.component.html*
<!-- <div ngbDropdown class="navbar-nav" *ngIf="moreThanOneLanguage"
display="dynamic" placement="bottom-right">
<a href="javascript:void(0);" role="button"
[attr.aria-label]="'nav.language' |translate"
[title]="'nav.language' | translate" class="px-1"
(click)="$event.preventDefault()" data-toggle="dropdown"
ngbDropdownToggle
tabindex="0">
<i class="fas fa-globe-asia fa-lg fa-fw"></i>
</a>
<ul ngbDropdownMenu class="dropdown-menu"
[attr.aria-label]="'nav.language' |translate">
<li class="dropdown-item" tabindex="0" #langSelect *ngFor="let lang of
translate.getLangs()"
(keyup.enter)="useLang(lang)"
(click)="useLang(lang)"
[class.active]="lang === translate.currentLang">
{{ langLabel(lang) }}
</li>
</ul>
</div> -->
<div class="lang-block">
<ul>
<li class="lang-block-item">
<a href="" (click)="useLang('en')" class="lang-link">eng</a>
</li>
<li class="lang-block-item">
<a href="" (click)="useLang('kk')" class="lang-link">каз</a>
</li>
<li class="lang-block-item">
<a href="" (click)="useLang('kk')" class="lang-link">каз</a>
</li>
</ul>
</div>
Please suggest specific steps how to solve this problem please!
Thank you very much.
Sincerely, Mukhametali.
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-community/e4d0d0a3-4510-469f-b821-fb8c4cd7012fn%40googlegroups.com.